Skip to content

Commit 530b42f

Browse files
committed
Auto-generated commit
1 parent 5ef0cf2 commit 530b42f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)