How to get VScode recognize d.ts files without referencing them directly
问题 I have a project created with create-react-app-ts I also have a set of d.ts files that are generated interfaces from JSON-schema. They define some interfaces for a remote API. I would like these d.ts file to be "globally" available throughout the project, without the need to directly reference them by file name. Somewhat similar to how Promise<T> definition is available globally. I've tried modifying tsconfig , added path/to/**/*.dts to include , as well as in files . I also tried adding path