Skip to content

Commit 298bb77

Browse files
committed
Auto-generated commit
1 parent 98df580 commit 298bb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import isUnityProbabilityArray = require( './index' );
2727
isUnityProbabilityArray( [ 2, 3 ] ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided an unsupported number of arguments...
30+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3131
{
3232
isUnityProbabilityArray(); // $ExpectError
3333
isUnityProbabilityArray( [ 0.25, 0.5, 0.25 ], 123 ); // $ExpectError

0 commit comments

Comments
 (0)