manoj84
manoj84

Reputation: 37

Is there a way to import "typings" globally in Visual Code rather than modifying each JS file.

Is there a way to avoid typing manually all the reference paths for typings in visual code ? May be a config file which points to all typings in the project, which can help us to avoid typing "reference" statements in each JS file.I don't want these "reference" statements to be part of source control.

Upvotes: 0

Views: 79

Answers (1)

thr0w
thr0w

Reputation: 1544

you can use files of tsconfig.json,

https://github.com/Microsoft/TypeScript/wiki/tsconfig.json

I use filesGlob with atom-typescript, I don't know if it works for VS too. Please let me know

Upvotes: 1

Related Questions