diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index ffcafb2..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2022-09-01T01:01:44.524Z diff --git a/docs/types/test.ts b/docs/types/test.ts index 36dc2a9..5650df8 100644 --- a/docs/types/test.ts +++ b/docs/types/test.ts @@ -26,7 +26,7 @@ import ahavercos = require( './index' ); ahavercos( 8 ); // $ExpectType number } -// 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... { ahavercos( true ); // $ExpectError ahavercos( false ); // $ExpectError @@ -38,7 +38,7 @@ import ahavercos = require( './index' ); ahavercos( ( x: number ): number => x ); // $ExpectError } -// The function does not compile if provided insufficient arguments... +// The compiler throws an error if the function is provided insufficient arguments... { ahavercos(); // $ExpectError } diff --git a/lib/index.js b/lib/index.js index 653880b..d26199f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -41,9 +41,9 @@ // MODULES // -var ahavercos = require( './ahavercos.js' ); +var main = require( './main.js' ); // EXPORTS // -module.exports = ahavercos; +module.exports = main; diff --git a/lib/ahavercos.js b/lib/main.js similarity index 100% rename from lib/ahavercos.js rename to lib/main.js