From b7399b9198dc71bd2ba8cfb05ba1b37c50457567 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 27 Sep 2022 22:22:29 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 1 - docs/types/test.ts | 4 ++-- lib/index.js | 4 ++-- lib/{ahavercos.js => main.js} | 0 4 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 .github/.keepalive rename lib/{ahavercos.js => main.js} (100%) 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