You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.d.ts
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,17 @@ export declare class Decimal {
38
38
toString(): string
39
39
}
40
40
41
+
/**
42
+
* A double precision float number.
43
+
*
44
+
* Due to the nature of numbers in JavaScript, it's hard to distinguish between integers and floats, so this type is used to represent
45
+
* double precision float numbers while any other JS number will be treated as an integer. (This is not the case for BigInts, which are always treated as BigInts).
46
+
*/
47
+
exportdeclareclassDouble{
48
+
constructor(inner: number)
49
+
toString(): string
50
+
}
51
+
41
52
exportdeclareclassDuration{
42
53
months: number
43
54
days: number
@@ -55,16 +66,19 @@ export declare class Duration {
/// Due to the nature of numbers in JavaScript, it's hard to distinguish between integers and floats, so this type is used to represent
4
+
/// double precision float numbers while any other JS number will be treated as an integer. (This is not the case for BigInts, which are always treated as BigInts).
0 commit comments