Files
flipper/desktop/pkg/templates/plugin/tsconfig.json.template
Michel Weststrate 8d6ad59c52 add tsconfig to template
Summary: When opening a freshly generated plugin in VScode the IDE would be full of errors, even though it can bundle correctly thanks to the defaults used by bundle. This  is fixed by diff by correctly setting up a tsconfig.

Reviewed By: jknoxville

Differential Revision: D21523817

fbshipit-source-id: 8f6b58fbfb704460ddb5b845ddfb137b28d37187
2020-05-19 05:33:33 -07:00

15 lines
295 B
Plaintext

{
"compilerOptions": {
"target": "ES2017",
"module": "ES6",
"jsx": "react",
"sourceMap": true,
"noEmit": true,
"strict": true,
"moduleResolution": "node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"files": ["src/index.tsx"]
}