aboutsummaryrefslogtreecommitdiff
path: root/typescript/interface.ts
blob: 18821c1d4aee51f605060dd97cc7d36217c4513b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;