From 47ebb1d262aa9ebf29fe445e57d19910612d047f Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Tue, 5 Jan 2021 19:03:42 +0100 Subject: [PATCH] fix(core): const initializer in an ambient context (#9136) fixes #9135 --- packages/core/platform/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/platform/index.d.ts b/packages/core/platform/index.d.ts index 2250bc73b..ceac382ce 100644 --- a/packages/core/platform/index.d.ts +++ b/packages/core/platform/index.d.ts @@ -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;