fix(core): const initializer in an ambient context

fixes #9135
This commit is contained in:
Igor Randjelovic
2021-01-05 14:49:58 +01:00
committed by GitHub
parent b52414c4ad
commit 619fd49186

View File

@ -126,7 +126,7 @@ export class Screen {
*
* This retains compatibility with NS6
*/
export const screen = Screen;
export const screen: Screen;
/**
* Gets the current device information.
@ -138,4 +138,4 @@ export const Device: IDevice;
*
* This retains compatibility with NS6
*/
export const device = Device;
export const device: IDevice;