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
"Feature can only be used in a .ts file." when switching the language mode to TypeScript in a .js file #9670
There has been multiple requests around this area. I have files a new issue to consolidate all the requests along with a proposal for a fix, see #10939. Let's use #10939 to track this change.
closing in favor of #10939.
Activity
dbaeumer commentedon Jul 13, 2016
This is a problem with the TSServer that infers the language mode from the extension. There are discussion to make the customizable.
Moving to TS team.
mhegazy commentedon Sep 15, 2016
There has been multiple requests around this area. I have files a new issue to consolidate all the requests along with a proposal for a fix, see #10939. Let's use #10939 to track this change.
closing in favor of #10939.