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 }}
Repository navigation
Go to definition fails when maxNodeModuleJsDepth = 0 #15717
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Activity
mjbvz commentedon May 10, 2017
Since
maxNodeModuleJsDepthis zero, I believe the failure to findexpressis expected. Can someone on the TS team please verify thismhegazy commentedon May 10, 2017
This is correct. the issue here is that ATA should kick in and download the .d.ts for you. with that goto def will go to the .d.ts.
The issue here is you are using a
tsconfig.jsonand not ajsconfig.json, and that changes the defaults for ATA.So to enable ATA, in the
tsconfig.jsonadd:Alternatively,
npm install -D @types/expressmhegazy commentedon May 24, 2017
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.