diff --git a/test-d/api.ts b/test-d/api.ts index f3f924fee..ce793f6fd 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 () => {