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
{{ message }}
Repository navigation
Support class member snippet completions in JS filesΒ #46738
classBase{/** * @param {number} a * @param {number} b */foo(a,b){returna+b;}}classSubextendsBase{|// Suggest `foo(a, b) { }` here, like we do in TS files}
Considerations
To properly support JS, we would have to consider the many ways in which properties can be added to a class in JS. We also should make sure the completion suggestion has JSDoc when possible.
Activity