29f9493d87
* global module:Fix crash when exporting+aliasing globalThis * Fix another globalThis crash find-all-refs assumed that an export inside a `declare x` was always an ambient module, but it is not -- `declare global` does not allow `export`, so find-all-refs shouldn't return any refs for this error case.
5 lines
115 B
TypeScript
5 lines
115 B
TypeScript
// https://github.com/microsoft/TypeScript/issues/33754
|
|
declare global {
|
|
export { globalThis as global }
|
|
}
|