From 44210691ee8444509ac466a362337af77f2bcd49 Mon Sep 17 00:00:00 2001 From: Minteck <46352972+Minteck@users.noreply.github.com> Date: Tue, 20 Jul 2021 01:30:23 +0200 Subject: Commit --- typescript/interface.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 typescript/interface.ts (limited to 'typescript/interface.ts') diff --git a/typescript/interface.ts b/typescript/interface.ts new file mode 100644 index 0000000..28e8219 --- /dev/null +++ b/typescript/interface.ts @@ -0,0 +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; + } +} + +module.exports = item; \ No newline at end of file -- cgit From d5a620cf09b835db2bccd99556525c90b458719f Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 5 Aug 2021 17:21:23 +0200 Subject: i18n for 21.08 --- typescript/interface.ts | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'typescript/interface.ts') 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 -- cgit