mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
fix: apply changes to definitions
This commit is contained in:
14
packages/core/platform/index.d.ts
vendored
14
packages/core/platform/index.d.ts
vendored
@ -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;
|
||||
|
Reference in New Issue
Block a user