We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 329ef65 commit 0dba595Copy full SHA for 0dba595
lib/node_modules/@stdlib/math/base/special/ln/docs/types/test.js
lib/node_modules/@stdlib/math/base/special/ln/docs/types/test.ts
@@ -26,14 +26,14 @@ import ln = require( './index' );
26
ln( 8 ); // $ExpectType number
27
}
28
29
-// The function does not compile if provided a value other than an a number...
+// The function does not compile if provided a value other than a number...
30
{
31
ln( true ); // $ExpectError
32
ln( false ); // $ExpectError
33
ln( '5' ); // $ExpectError
34
ln( [] ); // $ExpectError
35
ln( {} ); // $ExpectError
36
- ln( ( x ) => x ); // $ExpectError
+ ln( ( x: number ): number => x ); // $ExpectError
37
38
39
// The function does not compile if provided insufficient arguments...
0 commit comments