Skip to content

Commit

Permalink
fix types and update packages
Browse files Browse the repository at this point in the history
version is updated
  • Loading branch information
erincones committed Jun 23, 2022
1 parent 84018e6 commit 05c6fb5
Show file tree
Hide file tree
Showing 5 changed files with 1,423 additions and 1,587 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.4
moojs, cowsayjs, cowthinkjs v1.0.6
Copyright (c) 2021 Erick Rincones
Licensed under the MIT License
Expand Down
2 changes: 1 addition & 1 deletion cows/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ declare function fix(value: string | undefined, def: string | undefined, len: nu


/**
* Cow enderer function
* Cow renderer function
*
* @callback CowRenderer
* @param action Action
Expand Down
11 changes: 6 additions & 5 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ export declare interface CowMooOptions extends CowOptions {
}

/**
* Options for the moo function
* Options for the moo function with message
*
* The common cowsay and cowthink options with the action property.
* The common cowsay and cowthink options with the action and message
* properties.
*/
export declare interface CowAllOptions extends CowMooOptions {
/** Cow message */
Expand Down Expand Up @@ -67,7 +68,7 @@ export declare function moo(message?: string, options?: CowMooOptions): string;
* - wrap: 40
*
* @param message Message to show
* @param options Cow options with action
* @param options Cow options with action and message
* @returns ASCII cow with the message
*/
export declare function moo(options?: CowAllOptions): string;
Expand Down Expand Up @@ -95,7 +96,7 @@ export declare function cowsay(message?: string, options?: CowOptions): string;
* - wrap: 40
*
* @param message Message to say
* @param options Cow options
* @param options Cow options with message
* @returns ASCII cow saying the message
*/
export declare function cowtsay(options?: CowAllOptions): string;
Expand Down Expand Up @@ -123,7 +124,7 @@ export declare function cowthink(message?: string, options?: CowOptions): string
* - wrap: 40
*
* @param message Message to think
* @param options Cow options
* @param options Cow options with message
* @returns ASCII cow thinking the message
*/
export declare function cowthink(options?: CowAllOptions): string;
Loading

0 comments on commit 05c6fb5

Please sign in to comment.