TypeScript config for Beemo projects.
npm install @beemo/config-typescript


An official Beemo TypeScript config based on
tsconfig-beemo.
``bash`
yarn install --dev typescript @beemo/core @beemo/driver-typescript @beemo/config-typescript
> Config will automatically assume project references are being used if a project is using
> workspaces.
Create a configs/typescript.ts file in your Beemo configuration module that re-exports this configinclude
with your own , exclude, etc.
`ts
import config from '@beemo/config-typescript';
export default {
...config,
include: ['src/*/'],
};
`
The following Beemo settings can be defined and will be enable compiler options.
- decorators (boolean) - Enable TypeScript decorators. If true, will toggle Babel into loosefalse
mode. Defaults to .react
- (boolean | classic | automatic) - Enable React (or React Native) syntax with the definedfalse
JSX runtime. Defaults to .
`ts``
export default {
module: '
drivers: ['typescript'],
settings: {
react: 'automatic',
},
};