Closed
Description
TypeScript Version: 2.2.1
Steps
- In a simple TS project in VSCode, add
"adal-node": "^0.1.22",
topackage.json
and runnpm install
. This is a JS library with no types. - Import the library in your
index.ts
as below
Code
import adal from "adal-node";
Expected behavior:
Per this bug's resolution #3019 this code should compile with no errors
Actual behavior:
tsc.exe: 'Could not find a declaration file for module 'adal-node'. 'e:/proj/node_modules/adal-node/lib/adal.js' implicitly has an 'any' type.'
References:
see #3019 and all its linked bugs