@@ -27,7 +27,7 @@ import logspace = require( './index' );
2727 logspace ( 0 , 10 ) ; // $ExpectType number[]
2828}
2929
30- // The function does not compile if provided values other than two numbers for the first two parameters...
30+ // The compiler throws an error if the function is provided values other than two numbers for the first two parameters...
3131{
3232 logspace ( true , 10 ) ; // $ExpectError
3333 logspace ( false , 10 ) ; // $ExpectError
@@ -44,7 +44,7 @@ import logspace = require( './index' );
4444 logspace ( 8 , ( x : number ) : number => x ) ; // $ExpectError
4545}
4646
47- // The function does not compile if provided a value other than a number for the third parameter...
47+ // The compiler throws an error if the function is provided a value other than a number for the third parameter...
4848{
4949 logspace ( 3 , 20 , true ) ; // $ExpectError
5050 logspace ( 4 , 20 , false ) ; // $ExpectError
@@ -53,7 +53,7 @@ import logspace = require( './index' );
5353 logspace ( 9 , 20 , ( x : number ) : number => x ) ; // $ExpectError
5454}
5555
56- // The function does not compile if provided insufficient arguments...
56+ // The compiler throws an error if the function is provided insufficient arguments...
5757{
5858 logspace ( ) ; // $ExpectError
5959 logspace ( 3 ) ; // $ExpectError
0 commit comments