Gary Sieling

Typescript and typings

If you want to use Typings and typescript, you can make the following tsconfig.json, and your files will automatically get imported, as you install new type definitions:

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
        "noImplicitAny": false,
        "sourceMap": false
    },
    "exclude": [
        "node_modules"
    ],
    "files": [
      "./app/index.tsx",
      "./typings/main.d.ts"
    ]
}
Exit mobile version