fix(core): const initializer in an ambient context (#9136)

fixes #9135
This commit is contained in:
Igor Randjelovic
2021-01-05 19:03:42 +01:00
committed by GitHub
parent b52414c4ad
commit 47ebb1d262

View File

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