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/misc | |
| parent | 11.23.1 (diff) | |
| download | sharkey-952789cc1eb77e2f2d54b489c016b56bac812ab7.tar.gz sharkey-952789cc1eb77e2f2d54b489c016b56bac812ab7.tar.bz2 sharkey-952789cc1eb77e2f2d54b489c016b56bac812ab7.zip | |
Use as const
#5089
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/schema.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/misc/schema.ts b/src/misc/schema.ts index 442c95ad98..e14e6e0dd7 100644 --- a/src/misc/schema.ts +++ b/src/misc/schema.ts @@ -1,17 +1,3 @@ -export const types = { - boolean: 'boolean' as 'boolean', - string: 'string' as 'string', - number: 'number' as 'number', - array: 'array' as 'array', - object: 'object' as 'object', - any: 'any' as 'any', -}; - -export const bool = { - true: true as true, - false: false as false, -}; - export type Schema = { type: 'boolean' | 'number' | 'string' | 'array' | 'object' | 'any'; nullable: boolean; |