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 {
10581058 /** Converts a string to an integer of this type. */
10591059 static parseInt ( value : string , radix ?: number ) : number ;
10601060 /** Converts this integer to a string. */
1061- toString ( ) : string ;
1061+ toString ( radix ?: number ) : string ;
10621062}
10631063
10641064/** Pseudo-class representing the backing class of floating-point types. */
@@ -1092,7 +1092,7 @@ declare class _Float {
10921092 /** Converts a string to a floating-point number. */
10931093 static parseFloat ( value : string ) : f32 | f64 ;
10941094 /** Converts this floating-point number to a string. */
1095- toString ( this : f64 ) : string ;
1095+ toString ( radix ?: number ) : string ;
10961096}
10971097
10981098/** Backing class of signed 8-bit integers. */
@@ -1571,7 +1571,7 @@ declare class TypeError extends Error { }
15711571declare class SyntaxError extends Error { }
15721572
15731573interface Boolean {
1574- toString ( ) : string ;
1574+ toString ( radix ?: number ) : string ;
15751575}
15761576
15771577interface Number {
You can’t perform that action at this time.
0 commit comments