Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mrbuilder-plugin-typescript

speajus440BSD3.3.1

Typescript plugin for mrbuilder

typescrpipt, mrbuilder

readme

Provides typescript

Property Type Default Description
useBabel bool false Use babel instead of tsc and ts-loader all other options are ignored

Please add a tsconfig.json to your project's root to be able to use

see

{
  "compileOnSave": false,
  "compilerOptions": {
    "baseUrl": ".",
    "suppressExcessPropertyErrors": true,
    "declaration": true,
    "outDir": "@types",
    "target": "es5",
    "strictNullChecks": false,
    "sourceMap": true,
    "skipLibCheck": true,
    "jsx": "react",
    "lib": [
      "dom",
      "es2015"
    ]
  },
  "files": [
    "./src/*.tsx"
  ]
}

Add the above to your project in a file called tsconfig.json - If you see

ERROR in mrbuilder-plugin-typescript/tsconfig.json
[tsl] ERROR
      TS18003: No inputs were found in config file 'tsconfig.json'.
      Specified 'include' paths were '["./src/**/*"]' and 'exclude'
       paths were '["node_modules","**/*.spec.ts"]'.