From a0ce744290cb72e06fb9c4af70b7fbda0327d949 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 22 Dec 2020 22:50:13 +0700 Subject: [PATCH] Add type test #172 --- index.test-d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/index.test-d.ts b/index.test-d.ts index c3003e8..4e7da4a 100644 --- a/index.test-d.ts +++ b/index.test-d.ts @@ -65,3 +65,14 @@ expectType(result.unnormalizedFlags.abc); result.showHelp(); result.showHelp(1); result.showVersion(); + +const options = { + flags: { + rainbow: { + type: 'boolean', + alias: 'r' + } + } +} as const; + +meow('', options);