src/windowRef.service.ts
nativeGlobal |
nativeGlobal: |
Defined in src/windowRef.service.ts:6
|
export interface MyGlobal {
}
export abstract class GlobalRef {
abstract get nativeGlobal(): MyGlobal;
}
export class BrowserGlobalRef extends GlobalRef {
get nativeGlobal(): MyGlobal {
return window as MyGlobal;
}
}