From 9eabfc9a31c7dd8a34503eff7ad1bb73d4807ed9 Mon Sep 17 00:00:00 2001 From: cAttte <26514199+cAttte@users.noreply.github.com> Date: Thu, 4 Mar 2021 03:34:12 -0300 Subject: [PATCH] order imports --- mw/index.d.ts | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/mw/index.d.ts b/mw/index.d.ts index 563355c..319e9e0 100644 --- a/mw/index.d.ts +++ b/mw/index.d.ts @@ -1,15 +1,17 @@ import "./Api"; +import "./hook"; +import "./html"; import "./language"; -import "./util"; -import "./user"; import "./loader"; +import "./log"; import "./Map"; +import "./message"; +import "./notification"; +import "./storage"; import "./Title"; import "./Uri"; -import "./hook"; -import "./storage"; -import "./notification"; -import "./message"; +import "./user"; +import "./util"; declare global { /** @@ -84,20 +86,6 @@ declare global { wgWikibaseItemId: string; }>; - namespace log { - function deprecate( - obj: any, - key: string, - val: any, - msg?: string, - logName?: string - ): void; - - function error(...msg: any[]): void; - - function warn(...msg: string[]): void; - } - // types for mw.widgets are out of scope! const widgets: any; }