TypeScript/tests/baselines/reference/spellingSuggestionGlobal3.symbols

8 lines
267 B
Plaintext
Raw Permalink Normal View History

=== 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)