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
15 lines
295 B
Plaintext
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"]
|
|
}
|