Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-2438 B: As a developer I want to use d.ts react definitions (inste…
…ad of n4jsd react definitions) (#2452) * special handling for d.ts Readonly<Z> types delegates to Z * support @types/react elements * also index d.ts that have errors * add some more tests * better support for react exotic component * better cache for declaration merging info * support declaration merging for type hierarchy * add test case * two more tests and fixes * fix NPE * add test, rename tests * fix another dts import bug * support relative imports between d.ts files, add test * support optional return type ref, and relative import specifiers * minor changes and fixes * add two tests * fix test * down to 1800 errors in OPR again * support 'typings' in package.json * fix unintended merging * improve test expectation * add test for inheritance of merged elements * major refactoring of hierarchy traverser to support merged types * fix test * fix test * small adjustments on React test definitions * fix performance issue with more caching * improve error message * some changes * update react defs for testing * improve type ref handling for utility and conditional types * typo * add tests * support TypeScript's typeof and infer * adjust test * revert/disable some changes wrt using type defs of react.d.ts * fix libs * small optimization * some fixes * update node version * small fix in d.ts grammar and transformation * improve TypeHierarchyTraverser * improve N4JSCache * add comment * organize imports * java doc * small fix * small performance improvement * add test * typo * bump version due to some improved type checks causing incompatibilities
- Loading branch information