summaryrefslogtreecommitdiff
path: root/kartik/typescript/interface.ts
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-05-18 18:50:12 +0200
committerMinteck <contact@minteck.org>2022-05-18 18:50:12 +0200
commit0bd45cb2cae3af05adaad3f38d129bb67c3e0ec0 (patch)
tree97a7e15187fe7fcb5b8775e03a62f62ac8fc5c61 /kartik/typescript/interface.ts
parentd4805039b8ea7b30f5e78cf53caf8fd3f267256a (diff)
downloadarcade-0bd45cb2cae3af05adaad3f38d129bb67c3e0ec0.tar.gz
arcade-0bd45cb2cae3af05adaad3f38d129bb67c3e0ec0.tar.bz2
arcade-0bd45cb2cae3af05adaad3f38d129bb67c3e0ec0.zip
Add KartikHEADtrunk
Diffstat (limited to 'kartik/typescript/interface.ts')
-rwxr-xr-xkartik/typescript/interface.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/kartik/typescript/interface.ts b/kartik/typescript/interface.ts
new file mode 100755
index 0000000..28e8219
--- /dev/null
+++ b/kartik/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