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 }}
This repository was archived by the owner on May 8, 2024. It is now read-only.
Current tester not working with new definitions because it could not resolve definitions using ///<reference types="..." /> format.
Would be reasonable to make this work for this scenario too.
I make this work by modifying src/tsc/Tsc.ts file by including additional command line options --typeRoots . --types jquery. That's very dirty, and just to give proof of concept. Full fix should include additional parameter which to dt and some other changes probably should be required on TypeScript side.
Now more about the change:
Make root folder of DefintelyTyped as source folder for definitions --typeRoots .
Fix error in the latest TypeScript which gives following error
error TS2688: Cannot find type definition file for '.git'.
error TS2688: Cannot find type definition file for 'gsap'.
error TS2688: Cannot find type definition file for 'node_modules'.
error TS2688: Cannot find type definition file for 'scripts'.
error TS2688: Cannot find type definition file for 'swipe.js'.
if some dummy existing types module does not provided. That's why --types jquery