We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98df580 commit 298bb77Copy full SHA for 298bb77
docs/types/test.ts
@@ -27,7 +27,7 @@ import isUnityProbabilityArray = require( './index' );
27
isUnityProbabilityArray( [ 2, 3 ] ); // $ExpectType boolean
28
}
29
30
-// The function does not compile if provided an unsupported number of arguments...
+// The compiler throws an error if the function is provided an unsupported number of arguments...
31
{
32
isUnityProbabilityArray(); // $ExpectError
33
isUnityProbabilityArray( [ 0.25, 0.5, 0.25 ], 123 ); // $ExpectError
0 commit comments