UNPKG

@krai-tech/web-api

Version:

A set of common tokens for consuming Web API with Angular.

10 lines (9 loc) 432 B
import { InjectionToken } from '@angular/core'; /** * Injection token for the global sessionStorage object. * * This token provides an abstraction over the window.sessionStorage object, allowing it to be injected * into Angular services or components. It utilizes the WINDOW injection token to access the sessionStorage * property of the global window object. */ export declare const SESSION_STORAGE: InjectionToken<Storage>;