Skip to content

Commit

Permalink
Add declare module
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 9, 2021
1 parent f35f570 commit af53eb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flow-libs/chalk.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -389,4 +389,7 @@ declare var chalk: chalk$Chalk &
},
...
};
declare export default typeof chalk;

declare module 'chalk' { // manually added
declare export default typeof chalk;
}

0 comments on commit af53eb6

Please sign in to comment.