From b54d1717a6d7452808dfc67834017e2bf5df43b2 Mon Sep 17 00:00:00 2001 From: Erick Rincones Date: Wed, 22 Jun 2022 22:35:33 -0400 Subject: [PATCH] fix the cowsay function type definition name --- README.md | 2 +- cli/index.js | 2 +- lib/index.d.ts | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7adc896..2ed69a8 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ commands, once installed, run `cowsayjs -h`, `cowthinkjs -h` or `moojs -h` to print the help. ```Text -moojs, cowsayjs, cowthinkjs v1.0.6 +moojs, cowsayjs, cowthinkjs v1.0.7 Copyright (c) 2021 Erick Rincones Licensed under the MIT License diff --git a/cli/index.js b/cli/index.js index 1a62c0d..aa65094 100644 --- a/cli/index.js +++ b/cli/index.js @@ -78,7 +78,7 @@ function getArg(token, j, argv, i) { */ function printHelp() { // Version - var version = "1.0.5"; + var version = "1.0.7"; // Get current script var script = process.argv[1].replace(/\\/g, "/"); diff --git a/lib/index.d.ts b/lib/index.d.ts index 0dcbceb..5eea208 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -99,7 +99,7 @@ export declare function cowsay(message?: string, options?: CowOptions): string; * @param options Cow options with message * @returns ASCII cow saying the message */ -export declare function cowtsay(options?: CowAllOptions): string; +export declare function cowsay(options?: CowAllOptions): string; /** diff --git a/package.json b/package.json index d7b616e..b99dc45 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cowsayjs", - "version": "1.0.6", + "version": "1.0.7", "description": "A nodejs clone of the classic cowsay and cowthink cli commands", "main": "lib/index.js", "scripts": {