redoc
Version:
13 lines (12 loc) • 351 B
TypeScript
export declare class HistoryService {
private _emiter;
constructor();
get currentId(): string;
linkForId(id: string): string;
subscribe(cb: any): () => void;
emit: () => void;
bind(): void;
dispose(): void;
replace(id: string | null, rewriteHistory?: boolean): void;
}
export declare const history: HistoryService;