Skip to content

Commit

Permalink
fix: type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Feb 3, 2023
1 parent b1da3c2 commit a97ffd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/breadc/src/breadc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export function breadc(name: string, config: AppOption = {}) {
const command = result.command;
if (command) {
if (command.callback) {
// @ts-ignore
return command.callback(...result.arguments, {
...result.options,
'--': result['--']
Expand Down
2 changes: 2 additions & 0 deletions packages/breadc/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './breadc';

export * from './extract';

0 comments on commit a97ffd0

Please sign in to comment.