dillon1000/react
Commit
Browse files Use TypeScript Compiler API Directly
In 1.4.0 we can use the TypeScript API directly to preprocess our files. This lets us get rid of a dependency. https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API We can also use this to provide our default libraries so that we don't need to keep the references in the test file.
Changed paths4 files
First-parent comparisonjest/preprocessor.js ModifiedA jest/ts-preprocessor.js AddedM package.json ModifiedM src/modern/class/__tests__/ReactTypeScriptClass-test.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…