diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-06-27 18:04:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-06-27 18:04:09 +0900 |
| commit | 952789cc1eb77e2f2d54b489c016b56bac812ab7 (patch) | |
| tree | 47aae1704f1617f9ae081291547085ba04677a2e /src/server/api/endpoints/drive/files/check-existence.ts | |
| parent | 11.23.1 (diff) | |
| download | misskey-952789cc1eb77e2f2d54b489c016b56bac812ab7.tar.gz misskey-952789cc1eb77e2f2d54b489c016b56bac812ab7.tar.bz2 misskey-952789cc1eb77e2f2d54b489c016b56bac812ab7.zip | |
Use as const
#5089
Diffstat (limited to 'src/server/api/endpoints/drive/files/check-existence.ts')
| -rw-r--r-- | src/server/api/endpoints/drive/files/check-existence.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/api/endpoints/drive/files/check-existence.ts b/src/server/api/endpoints/drive/files/check-existence.ts index ab19566f1c..a6cd14caf2 100644 --- a/src/server/api/endpoints/drive/files/check-existence.ts +++ b/src/server/api/endpoints/drive/files/check-existence.ts @@ -1,7 +1,6 @@ import $ from 'cafy'; import define from '../../../define'; import { DriveFiles } from '../../../../../models'; -import { types, bool } from '../../../../../misc/schema'; export const meta = { desc: { @@ -25,8 +24,8 @@ export const meta = { }, res: { - type: types.boolean, - optional: bool.false, nullable: bool.false, + type: 'boolean' as const, + optional: false as const, nullable: false as const, }, }; |