@ng-web-apis/universal
Version:
A set of fallback for @ng-web-apis/common for Angular Universal
18 lines (17 loc) • 506 B
TypeScript
import { emptyFunction } from '../utils/functions';
import { DOMStringListMock } from './dom-string-list-mock';
export declare class LocationMock implements Location {
readonly ancestorOrigins: DOMStringListMock;
hash: string;
host: string;
hostname: string;
href: string;
readonly origin = "";
pathname: string;
port: string;
protocol: string;
search: string;
assign: typeof emptyFunction;
reload: typeof emptyFunction;
replace: typeof emptyFunction;
}