Shared TypeScript config for FLYWHEEL.
$ yarn add --dev @flywheel-jp/tsconfig
This package provides several tsconfig:
"@flywheel-jp/tsconfig"
- Base config."@flywheel-jp/tsconfig/nodejs10"
- For Node.js v10 project."@flywheel-jp/tsconfig/nodejs12"
- For Node.js v12 project."@flywheel-jp/tsconfig/nodejs14"
- For Node.js v14 project."@flywheel-jp/tsconfig/browser"
- For browser project.
Once the @flywheel-jp/tsconfig
package is installed, you can use it by specifying the package in the extends
section of your tsconfig.json.
{
"extends": "@flywheel-jp/tsconfig/browser",
// ...
}
MIT © FLYWHEEL Inc.