You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autocomplete behaviour seems to be working incorrectly when dealing with symbol properties and symbol needs to be imported.
The behaviour when the module is imported via import {id} from "module" is perfect, but seems to be broken when importing the entire module via import * as D from "module"
🔎 Search Terms
autocomplete symbol
autocomplete property import
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about language service autocomplete
⏯ Playground Link
Not applicable as it requires multiple file support for autocomplete unfortunately
import*asDfrom"./DSL";interfaceUser{id: number;email: string;}constemail=D.id<User>().// <- instead of D.self, "D" appears in autocomplete and will result into a wrong property being accessed
Bug Report
Autocomplete behaviour seems to be working incorrectly when dealing with symbol properties and symbol needs to be imported.
The behaviour when the module is imported via import {id} from "module" is perfect, but seems to be broken when importing the entire module via import * as D from "module"
🔎 Search Terms
autocomplete symbol
autocomplete property import
🕗 Version & Regression Information
⏯ Playground Link
Not applicable as it requires multiple file support for autocomplete unfortunately
💻 Code
DSL.ts
PerfectAutocomplete.ts
see it in action: http://www.giphy.com/gifs/ZfQu0uIHrAaJsy9fbz
🙁 Actual behavior
WrongAutocomplete.ts
see it in action: http://www.giphy.com/gifs/1YdB0ShfjLku0vfAZA
🙂 Expected behavior
D.self should appear in the autocomplete, and when chosen should type in D.self instead of just D
The text was updated successfully, but these errors were encountered: