TypeScript Version: 2.0.0-beta / "2.0.0.0" in Help -> About
Code
"devDependencies": {
"@types/jquery": "1.10.27",
"typescript": "2.0.0"
}
{
"compilerOptions": {
"types": ["jquery"]
}
}
Running tsc on the command line works as expected. When I remove for example the "jquery" entry from the types array in tsconfig.json I get the appropriate error for a.
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.
TypeScript Version: 2.0.0-beta / "2.0.0.0" in Help -> About
Code
{ "compilerOptions": { "types": ["jquery"] } }Running
tscon the command line works as expected. When I remove for example the "jquery" entry from thetypesarray intsconfig.jsonI 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
JQuerynot known. When I manually add a/// <reference types="jquery" />VS stops complaining.