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