File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ 2022-10-01T01:45:07.606Z
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import toBinaryString = require( './index' );
27
27
toBinaryString ( new Uint8Array ( [ 4 ] ) [ 0 ] ) ; // $ExpectType string
28
28
}
29
29
30
- // The function does not compile if provided a value other than a number...
30
+ // The compiler throws an error if the function is provided a value other than a number...
31
31
{
32
32
toBinaryString ( true ) ; // $ExpectError
33
33
toBinaryString ( false ) ; // $ExpectError
@@ -37,7 +37,7 @@ import toBinaryString = require( './index' );
37
37
toBinaryString ( ( x : number ) : number => x ) ; // $ExpectError
38
38
}
39
39
40
- // The function does not compile if provided insufficient arguments...
40
+ // The compiler throws an error if the function is provided insufficient arguments...
41
41
{
42
42
toBinaryString ( ) ; // $ExpectError
43
43
}
You can’t perform that action at this time.
0 commit comments