15 lines
509 B
TypeScript
15 lines
509 B
TypeScript
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
|
|
|
function _abstract() {
|
|
return new BaseException('This method is abstract');
|
|
}
|
|
|
|
export class LocationStrategy {
|
|
path(): string { throw _abstract(); }
|
|
pushState(ctx: any, title: string, url: string): void { throw _abstract(); }
|
|
forward(): void { throw _abstract(); }
|
|
back(): void { throw _abstract(); }
|
|
onPopState(fn: (_: any) => any): void { throw _abstract(); }
|
|
getBaseHref(): string { throw _abstract(); }
|
|
}
|