From b7290006876b78216b801170a778d71684c170db Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 22 Jun 2021 19:07:09 +0900 Subject: [PATCH] Add test --- test-d/api.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-d/api.ts b/test-d/api.ts index f3f924f..ce793f6 100644 --- a/test-d/api.ts +++ b/test-d/api.ts @@ -25,6 +25,9 @@ describe('API', () => { const res3 = await cli.request('meta', { }); expectType(res3); + + const res4 = await cli.request('meta', { detail: true as boolean }); + expectType(res4); }); test('conditional respose type (users/show)', async () => {