We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7aa6c commit 9e56f81Copy full SHA for 9e56f81
.github/.keepalive
@@ -0,0 +1 @@
1
+2022-10-01T01:35:10.869Z
docs/types/test.ts
@@ -26,7 +26,7 @@ import dirname = require( './index' );
26
dirname( './foo/bar/index.js' ); // $ExpectType string
27
}
28
29
-// The function does not compile if provided a value other than a string...
+// The compiler throws an error if the function is provided a value other than a string...
30
{
31
dirname( true ); // $ExpectError
32
dirname( false ); // $ExpectError
lib/index.js
@@ -32,9 +32,9 @@
33
// MODULES //
34
35
-var dirname = require( './main.js' );
+var main = require( './main.js' );
36
37
38
// EXPORTS //
39
40
-module.exports = dirname;
+module.exports = main;
0 commit comments