Skip to content

Commit ba88a5d

Browse files
committed
Auto-generated commit
1 parent 92433ed commit ba88a5d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/types/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import incrspace = require( './index' );
2727
incrspace( 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
incrspace( true, 10 ); // $ExpectError
3333
incrspace( false, 10 ); // $ExpectError
@@ -44,7 +44,7 @@ import incrspace = require( './index' );
4444
incrspace( 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
incrspace( 3, 20, true ); // $ExpectError
5050
incrspace( 4, 20, false ); // $ExpectError
@@ -53,7 +53,7 @@ import incrspace = require( './index' );
5353
incrspace( 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
incrspace(); // $ExpectError
5959
incrspace( 3 ); // $ExpectError

0 commit comments

Comments
 (0)