diff --git a/test-d/api.ts b/test-d/api.ts index 57c027f986901f61bf136d1217766e26a62ef9c6..a9e9d403b087cf1cadaeb927bfa112cda399ecef 100644 --- a/test-d/api.ts +++ b/test-d/api.ts @@ -8,7 +8,7 @@ describe('API', () => { credential: 'TOKEN' }); const res = await cli.request('meta', { detail: true }); - expectType<Misskey.entities.InstanceMetadata>(res); + expectType<Misskey.entities.DetailedInstanceMetadata>(res); }); test('conditional respose type', async () => { diff --git a/tsconfig.json b/tsconfig.json index 3425c714ec61085717477e4a0d56f5c933e14f64..e01a2935fc682c228f25d3bdc46c3f4d9dcb9a4c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,6 @@ "module": "commonjs", "declaration": true, "outDir": "./built/", - "rootDir": "./src/", "removeComments": true, "strict": true, "strictFunctionTypes": true,