Closed hronro closed 4 years ago
I'm not able to see this behavior. Try out with the latest version and provide a self-contained repro of the issue
@DanielRosenwasser
I fixed this problem by npm install TypeScript globally.
Actually I would like to know which TypeScript instance is used by sublime typescript plugin? The one installed in current project? The one bundled with Sublime plugin? Or the one installed globally?
I have write my own d.ts file to extend the request object with property
cookies
:And I can also build successful using command
tsc
, but in the sublime editor, I got this error:And VS Code can handle this correctly: