dillon1000/react

Commit

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.
Browse files
Changed paths4 files
First-parent comparison
M jest/preprocessor.js ModifiedA jest/ts-preprocessor.js AddedM package.json ModifiedM src/modern/class/__tests__/ReactTypeScriptClass-test.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…