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 46f7868 commit de5fd49Copy full SHA for de5fd49
docs/types/test.ts
@@ -28,7 +28,7 @@ import isPositiveInteger = require( './index' );
28
isPositiveInteger( -2 ); // $ExpectType boolean
29
}
30
31
-// The function does not compile if provided a value other than a number...
+// The compiler throws an error if the function is provided a value other than a number...
32
{
33
isPositiveInteger( true ); // $ExpectError
34
isPositiveInteger( false ); // $ExpectError
0 commit comments