@ng-web-apis/universal
Version:
A set of fallback for @ng-web-apis/common for Angular Universal
14 lines (13 loc) • 439 B
TypeScript
import type { ValueProvider } from '@angular/core';
import { emptyFunction } from '../utils/functions';
export declare const HISTORY_MOCK: {
length: number;
scrollRestoration: string;
state: {};
back: typeof emptyFunction;
forward: typeof emptyFunction;
go: typeof emptyFunction;
pushState: typeof emptyFunction;
replaceState: typeof emptyFunction;
};
export declare const UNIVERSAL_HISTORY: ValueProvider;