Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit ca758e6

Browse files
committed
fix: typing
1 parent ca24248 commit ca758e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function exit(code = 0): never {
1414
throw new ExitError(code)
1515
}
1616

17-
export function error(input: string | Error, options: {code?: string, exit?: false}): void
17+
export function error(input: string | Error, options: {code?: string, exit: false}): void
1818
export function error(input: string | Error, options?: {code?: string, exit?: number}): never
1919
export function error(input: string | Error, options: {code?: string, exit?: number | false} = {}) {
2020
const err = new CLIError(input, options)

0 commit comments

Comments
 (0)