mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +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.
|
* JavaScript displays POSITIVE_INFINITY values as infinity.
|
||||||
*/
|
*/
|
||||||
POSITIVE_INFINITY: number;
|
POSITIVE_INFINITY: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the passed value is an integer.
|
||||||
|
*/
|
||||||
|
isInteger(value: any): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Math {
|
interface Math {
|
||||||
|
Reference in New Issue
Block a user