Skip to content

Commit

Permalink
Add missing type (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillGalimov committed May 26, 2022
1 parent f5dab84 commit 27d8c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -64,7 +64,7 @@ Use this if you want to override the default error message of this library.
// signature
type errorMessage = (
methodName: 'assert' | 'debug' | 'error' | 'info' | 'log' | 'warn',
bold: (string) => string
bold: (string: string) => string
) => string
```
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -7,7 +7,7 @@ declare namespace init {
*/
errorMessage?: (
methodName: 'assert' | 'debug' | 'error' | 'info' | 'log' | 'warn',
bold: (string) => string
bold: (string: string) => string
) => string

/** @default false */
Expand Down

0 comments on commit 27d8c4b

Please sign in to comment.