Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use standard TypeScript configuration (#27)
The TypeScript configuration has been updated to use the same settings we use in the MetaMask module template. The changes are: * Enable inline source maps. * Target ES2017 rather than ES5. * Allow the use of ES2020 syntax/APIs and DOM APIs in the TypeScript source. * Explicitly declare the root directory, to prevent it from changing accidentally. * Remove unnecessary type roots and excludes (both included the non- existent `types` directory, and were set to default aside from that). * Enable `esModuleInterop` for better CommonJS compatibility.
- Loading branch information