1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-23 22:56:49 +09:00
* Fix #4152

* fix

* remove unused code
This commit is contained in:
MeiMei 2019-02-11 22:37:20 +09:00 committed by Acid Chicken (硫酸鶏)
parent 769e6182d8
commit 2c1a7f4392
2 changed files with 3 additions and 5 deletions

6
locales/index.d.ts vendored
View File

@ -1,5 +1,3 @@
type Locale = { [key: string]: string };
declare const locales: { [lang: string]: any };
declare const locales: { [lang: string]: Locale };
export default locales;
export = locales;

View File

@ -16,7 +16,7 @@ import config from '../../config';
import { licenseHtml } from '../../misc/license';
import { copyright } from '../../const.json';
import endpoints from '../api/endpoints';
import locales from '../../../locales';
import * as locales from '../../../locales';
import * as nestedProperty from 'nested-property';
function getLang(lang: string): string {