Skip to content

Commit

Permalink
Add type test
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 22, 2020
1 parent c725b57 commit a0ce744
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.test-d.ts
Expand Up @@ -65,3 +65,14 @@ expectType<string[] | undefined>(result.unnormalizedFlags.abc);
result.showHelp();
result.showHelp(1);
result.showVersion();

const options = {
flags: {
rainbow: {
type: 'boolean',
alias: 'r'
}
}
} as const;

meow('', options);

0 comments on commit a0ce744

Please sign in to comment.