@krai-tech/web-api
Version:
A set of common tokens for consuming Web API with Angular.
10 lines (9 loc) • 403 B
TypeScript
import { InjectionToken } from '@angular/core';
/**
* Injection token for the global history object.
*
* This token provides an abstraction over the window.history object, allowing it to be injected
* into Angular services or components. It utilizes the WINDOW injection token to access the history
* property of the global window object.
*/
export declare const HISTORY: InjectionToken<History>;