424b805d61
* Add tests for "Cannot find name 'global'. Did you mean 'global'?" * Fix "Cannot find name 'global'. Did you mean 'global'?" * Add an additional test case for spelling suggestions of "global". * Name the boolean for suggestions being global scope augmentations.
8 lines
267 B
Plaintext
8 lines
267 B
Plaintext
=== tests/cases/compiler/spellingSuggestionGlobal3.ts ===
|
|
const global = { x: true }
|
|
>global : Symbol(global, Decl(spellingSuggestionGlobal3.ts, 0, 5))
|
|
>x : Symbol(x, Decl(spellingSuggestionGlobal3.ts, 0, 16))
|
|
|
|
globals.x // should suggest `global` (GH#42209)
|
|
|