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.
9 lines
187 B
TypeScript
9 lines
187 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////declare global {
|
|
//// export { globalThis as [|global|] }
|
|
////}
|
|
|
|
for (const r of test.ranges()) {
|
|
verify.documentHighlightsOf(r, [r]);
|
|
}
|