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
In TypeScript 2.9, external module can reference to other JSON module. TSLint language service should allow us to ignore JSON files just like TypeScript definition files. I try to exclude JSON file in tslint/typescript config. But it doesn't work.
The following code can fix this issue on VS2017. fig.ignoreDefinitionFiles === true && fileName.endsWith('.json')) { return prior; }
The text was updated successfully, but these errors were encountered:
In TypeScript 2.9, external module can reference to other JSON module. TSLint language service should allow us to ignore JSON files just like TypeScript definition files. I try to exclude JSON file in tslint/typescript config. But it doesn't work.
The following code can fix this issue on VS2017.
fig.ignoreDefinitionFiles === true && fileName.endsWith('.json')) { return prior; }
The text was updated successfully, but these errors were encountered: