You can get IntelliSense for other TypeScript files using the external script directive at the top of your script:
As a side note, the TypeScript help directive IntelliSense does not support the tilde operator, as does the JavaScript help directive. For example, if your script is in "~ / Scripts / foo /", in JavaScript you can reference:
whereas in TypeScript you need to reference the current file:
You can learn more about this in section 11.1.1. Source files. Dependencies TypeScript Spec .
Regarding JavaScript IntelliSense in a TypeScript file, it is currently not possible to get a link to JavaScript IntelliSense.
jkarpilo
source share