fix typescript config

This commit is contained in:
syuilo 2021-06-08 11:31:53 +09:00
parent 1e7219b043
commit c75ff55bbc
2 changed files with 1 additions and 2 deletions

View File

@ -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 () => {

View File

@ -4,7 +4,6 @@
"module": "commonjs",
"declaration": true,
"outDir": "./built/",
"rootDir": "./src/",
"removeComments": true,
"strict": true,
"strictFunctionTypes": true,