Closed Dimava closed 5 months ago
It's much simpler to declare global yourself (as already described in the docs) than to use interface merging:
declare const global: {
savedData: string
}
// or
interface MyGlobal {
...
}
declare const global: MyGlobal