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