diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-05 17:21:23 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-05 17:21:23 +0200 |
commit | d5a620cf09b835db2bccd99556525c90b458719f (patch) | |
tree | 1507f96be0413bd20026878890b0c1ad438e51d2 /typescript/interface.ts | |
parent | 44210691ee8444509ac466a362337af77f2bcd49 (diff) | |
download | kartik-client-d5a620cf09b835db2bccd99556525c90b458719f.tar.gz kartik-client-d5a620cf09b835db2bccd99556525c90b458719f.tar.bz2 kartik-client-d5a620cf09b835db2bccd99556525c90b458719f.zip |
i18n for 21.08
Diffstat (limited to 'typescript/interface.ts')
-rw-r--r-- | typescript/interface.ts | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/typescript/interface.ts b/typescript/interface.ts index 28e8219..18821c1 100644 --- a/typescript/interface.ts +++ b/typescript/interface.ts @@ -1,23 +1,23 @@ -// @ts-nocheck - -let item = { - context: null, - - dom: { - document: null, - window: null, - }, - -}; - -if (typeof HTML !== "undefined") { - if (typeof HTML.document !== "undefined") { - item.dom.document = HTML.document; - } - - if (typeof window !== "undefined") { - item.dom.window = HTML.window; - } -} - +// @ts-nocheck
+
+let item = {
+ context: null,
+
+ dom: {
+ document: null,
+ window: null,
+ },
+
+};
+
+if (typeof HTML !== "undefined") {
+ if (typeof HTML.document !== "undefined") {
+ item.dom.document = HTML.document;
+ }
+
+ if (typeof window !== "undefined") {
+ item.dom.window = HTML.window;
+ }
+}
+
module.exports = item;
\ No newline at end of file |