1
0
Fork 1
mirror of https://example.com synced 2024-11-24 06:56:41 +09:00

Use as const

#5089
This commit is contained in:
syuilo 2019-06-28 16:38:48 +09:00
parent 952789cc1e
commit a8379e3bc9
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
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: {