diff --git a/packages/core/platform/index.d.ts b/packages/core/platform/index.d.ts index aec73b096..2250bc73b 100644 --- a/packages/core/platform/index.d.ts +++ b/packages/core/platform/index.d.ts @@ -121,7 +121,21 @@ export class Screen { static mainScreen: ScreenMetrics; } +/** + * An object describing general information about a display. + * + * This retains compatibility with NS6 + */ +export const screen = Screen; + /** * Gets the current device information. */ export const Device: IDevice; + +/** + * Gets the current device information. + * + * This retains compatibility with NS6 + */ +export const device = Device;