I am getting the error "Declaration name conflicts with built-in global identifier 'globalThis'" for the following code
interface globalThis {
whatever: string
}
Why can I do
interface Window {
whatever: string
}
but not do the same for globalThis?