15 lines
475 B
TypeScript
15 lines
475 B
TypeScript
import {BaseException} from 'angular2/src/facade/lang';
|
|
|
|
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): void { throw _abstract(); }
|
|
getBaseHref(): string { throw _abstract(); }
|
|
}
|