File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1058,7 +1058,7 @@ declare class _Integer {
1058
1058
/** Converts a string to an integer of this type. */
1059
1059
static parseInt ( value : string , radix ?: number ) : number ;
1060
1060
/** Converts this integer to a string. */
1061
- toString ( ) : string ;
1061
+ toString ( radix ?: number ) : string ;
1062
1062
}
1063
1063
1064
1064
/** Pseudo-class representing the backing class of floating-point types. */
@@ -1092,7 +1092,7 @@ declare class _Float {
1092
1092
/** Converts a string to a floating-point number. */
1093
1093
static parseFloat ( value : string ) : f32 | f64 ;
1094
1094
/** Converts this floating-point number to a string. */
1095
- toString ( this : f64 ) : string ;
1095
+ toString ( radix ?: number ) : string ;
1096
1096
}
1097
1097
1098
1098
/** Backing class of signed 8-bit integers. */
@@ -1571,7 +1571,7 @@ declare class TypeError extends Error { }
1571
1571
declare class SyntaxError extends Error { }
1572
1572
1573
1573
interface Boolean {
1574
- toString ( ) : string ;
1574
+ toString ( radix ?: number ) : string ;
1575
1575
}
1576
1576
1577
1577
interface Number {
You can’t perform that action at this time.
0 commit comments