mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +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;
|
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.
|
* Gets the current device information.
|
||||||
*/
|
*/
|
||||||
export const Device: IDevice;
|
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