aboutsummaryrefslogtreecommitdiff
path: root/typescript/interface.ts
blob: 28e821906e922025f8992ae1572ba77865cd3ea9 (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;