File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import isNegativeFinite = require( './index' );
2727 isNegativeFinite ( 3.0 ) ; // $ExpectType boolean
2828}
2929
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...
3131{
3232 isNegativeFinite ( true ) ; // $ExpectError
3333 isNegativeFinite ( false ) ; // $ExpectError
@@ -38,7 +38,7 @@ import isNegativeFinite = require( './index' );
3838 isNegativeFinite ( ( x : number ) : number => x ) ; // $ExpectError
3939}
4040
41- // The function does not compile if provided insufficient arguments...
41+ // The compiler throws an error if the function is provided insufficient arguments...
4242{
4343 isNegativeFinite ( ) ; // $ExpectError
4444}
You can’t perform that action at this time.
0 commit comments