diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2019-02-04 01:46:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-04 01:46:59 +0900 |
| commit | 5891135ac17aa94bd9c20bf84d5afc1b6290fbec (patch) | |
| tree | a68bc394dccf038d308eabef7bf9aa5aed0012c6 /src | |
| parent | Revert "Create new type definition for 'is-url' (#4013)" (diff) | |
| download | sharkey-5891135ac17aa94bd9c20bf84d5afc1b6290fbec.tar.gz sharkey-5891135ac17aa94bd9c20bf84d5afc1b6290fbec.tar.bz2 sharkey-5891135ac17aa94bd9c20bf84d5afc1b6290fbec.zip | |
Create type definition for ./locales (#4117)
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/web/docs.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/web/docs.ts b/src/server/web/docs.ts index f823c308c2..1455abae78 100644 --- a/src/server/web/docs.ts +++ b/src/server/web/docs.ts @@ -16,7 +16,7 @@ import config from '../../config'; import { licenseHtml } from '../../misc/license'; const constants = require('../../const.json'); import endpoints from '../api/endpoints'; -const locales = require('../../../locales'); +import locales from '../../../locales'; import * as nestedProperty from 'nested-property'; function getLang(lang: string): string { |