mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Add declaration for Number.isInteger in libjs.d.ts
This commit is contained in:
5
libjs.d.ts
vendored
5
libjs.d.ts
vendored
@ -498,6 +498,11 @@ declare var Number: {
|
||||
* JavaScript displays POSITIVE_INFINITY values as infinity.
|
||||
*/
|
||||
POSITIVE_INFINITY: number;
|
||||
|
||||
/**
|
||||
* Checks if the passed value is an integer.
|
||||
*/
|
||||
isInteger(value: any): boolean;
|
||||
}
|
||||
|
||||
interface Math {
|
||||
|
Reference in New Issue
Block a user