The typescript language service in VS doesn't consider tsconfig's types entry #9740
Labels
Bug
A bug in TypeScript
@types
Relates to working with .d.ts files (declaration/definition files) from DefinitelyTyped
Visual Studio
Integration with Visual Studio
Milestone
TypeScript Version: 2.0.0-beta / "2.0.0.0" in Help -> About
Code
Running
tsc
on the command line works as expected. When I remove for example the "jquery" entry from thetypes
array intsconfig.json
I get the appropriate error fora
.Expected behavior:
Opening the ts file in Visual Studio 2015 with 2.0.0-beta installed should show no errors.
Actual behavior:
VS complains about the type
JQuery
not known. When I manually add a/// <reference types="jquery" />
VS stops complaining.
The text was updated successfully, but these errors were encountered: