Use as const

#5089
This commit is contained in:
syuilo 2019-06-28 16:38:48 +09:00
parent 583411681f
commit 43b7dc46b0
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
export const id = () => ({
type: 'varchar' as 'varchar',
type: 'varchar' as const,
length: 32
});

View File

@ -52,7 +52,7 @@ export const meta = {
message: 'Failed to resolve remote user.',
code: 'FAILED_TO_RESOLVE_REMOTE_USER',
id: 'ef7b9be4-9cba-4e6f-ab41-90ed171c7d3c',
kind: 'server' as 'server'
kind: 'server' as const
},
noSuchUser: {