mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 04:16:44 -06:00
fix typescript config
This commit is contained in:
parent
1e7219b043
commit
c75ff55bbc
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,7 @@ describe('API', () => {
|
||||||
credential: 'TOKEN'
|
credential: 'TOKEN'
|
||||||
});
|
});
|
||||||
const res = await cli.request('meta', { detail: true });
|
const res = await cli.request('meta', { detail: true });
|
||||||
expectType<Misskey.entities.InstanceMetadata>(res);
|
expectType<Misskey.entities.DetailedInstanceMetadata>(res);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('conditional respose type', async () => {
|
test('conditional respose type', async () => {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"outDir": "./built/",
|
"outDir": "./built/",
|
||||||
"rootDir": "./src/",
|
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"strictFunctionTypes": true,
|
"strictFunctionTypes": true,
|
||||||
|
|
Loading…
Reference in a new issue