mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-19 23:13:04 +08:00
revert: "fix(core/platform): fixed types for sdkVersion and osVersion" (#10270)
Revert "fix(core): sdkVersion and osVersion type adjustments (#10269)" This reverts commit f8edee43a0b28f523d510c6dd7d54015a0bc7e10.
This commit is contained in:
8
packages/core/platform/index.d.ts
vendored
8
packages/core/platform/index.d.ts
vendored
@ -46,15 +46,15 @@ export interface IDevice {
|
||||
|
||||
/**
|
||||
* Gets the OS version.
|
||||
* For example: 12(android), 8.1(ios)
|
||||
* For example: 4.4.4(android), 8.1(ios)
|
||||
*/
|
||||
osVersion: number | string;
|
||||
osVersion: string;
|
||||
|
||||
/**
|
||||
* Gets the SDK version.
|
||||
* For example: 31(android), 8.1(ios).
|
||||
* For example: 19(android), 8.1(ios).
|
||||
*/
|
||||
sdkVersion: number | string;
|
||||
sdkVersion: string;
|
||||
|
||||
/**
|
||||
* Gets the type of the current device.
|
||||
|
Reference in New Issue
Block a user