Skip to content

Commit 71c42f3

Browse files
authored
revert: "fix(core/platform): fixed types for sdkVersion and osVersion" (#10270)
Revert "fix(core): sdkVersion and osVersion type adjustments (#10269)" This reverts commit f8edee4.
1 parent f4b2722 commit 71c42f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/platform/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ export interface IDevice {
4646

4747
/**
4848
* Gets the OS version.
49-
* For example: 12(android), 8.1(ios)
49+
* For example: 4.4.4(android), 8.1(ios)
5050
*/
51-
osVersion: number | string;
51+
osVersion: string;
5252

5353
/**
5454
* Gets the SDK version.
55-
* For example: 31(android), 8.1(ios).
55+
* For example: 19(android), 8.1(ios).
5656
*/
57-
sdkVersion: number | string;
57+
sdkVersion: string;
5858

5959
/**
6060
* Gets the type of the current device.

0 commit comments

Comments
 (0)