Is it intentional that declarations in declare global can have export modifiers?
export {}
declare global {
// allowed!
export interface Oops {
}
}
I want to say "no", but... I'm not sure who that would help at this point - maybe a check would make sure you're doing what you think you're doing (whatever that is).
Somewhat related is:
Is it intentional that declarations in
declare globalcan haveexportmodifiers?I want to say "no", but... I'm not sure who that would help at this point - maybe a check would make sure you're doing what you think you're doing (whatever that is).
Somewhat related is: