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 }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
In noUnusedVariableRule.ts and noUseBeforeDeclareRule.ts, a LanguageServiceHost object is created and passed a hard-coded file name, file.ts. However, if the file we're working with is actually a .tsx file, it will be processed incorrectly by the language service. We need to detect what kind of file is being processed and use a correct extension.
The text was updated successfully, but these errors were encountered:
In
noUnusedVariableRule.ts
andnoUseBeforeDeclareRule.ts
, aLanguageServiceHost
object is created and passed a hard-coded file name,file.ts
. However, if the file we're working with is actually a.tsx
file, it will be processed incorrectly by the language service. We need to detect what kind of file is being processed and use a correct extension.The text was updated successfully, but these errors were encountered: