summaryrefslogtreecommitdiff
path: root/src/@types
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-03 23:41:05 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2019-02-03 23:41:05 +0900
commitfe13c17fcba8f3507e58adfaac181f77a63518ab (patch)
tree81f782071ff9ee8fe7927871ea91cf07bbabad3f /src/@types
parentCreate type definition for 'koa-slow' (#4072) (diff)
downloadsharkey-fe13c17fcba8f3507e58adfaac181f77a63518ab.tar.gz
sharkey-fe13c17fcba8f3507e58adfaac181f77a63518ab.tar.bz2
sharkey-fe13c17fcba8f3507e58adfaac181f77a63518ab.zip
Create type definition for 'langmap' (#4059)
* Create type definition for 'langmap' * Follow lint
Diffstat (limited to 'src/@types')
-rw-r--r--src/@types/langmap.d.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/@types/langmap.d.ts b/src/@types/langmap.d.ts
new file mode 100644
index 0000000000..a0f99028ab
--- /dev/null
+++ b/src/@types/langmap.d.ts
@@ -0,0 +1,10 @@
+declare module 'langmap' {
+ type Lang = {
+ nativeName: string;
+ englishName: string;
+ };
+
+ const langmap: { [lang: string]: Lang };
+
+ export = langmap;
+}