Skip to content

Commit

Permalink
fix: update CommandParams type
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Nov 21, 2022
1 parent e51b4bc commit 7722547
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/ybiq.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export type Logger = (msg: string) => void;
export type CommandParams = { cwd?: string; logger?: Logger };
export type CommandParams = {
cwd?: string | undefined;
logger?: Logger | undefined;
};

export declare function init(params?: CommandParams): Promise<void>;
type InitCommand = typeof init;

0 comments on commit 7722547

Please sign in to comment.