vscode-typescript-exportallmodules icon indicating copy to clipboard operation
vscode-typescript-exportallmodules copied to clipboard

Please document Include and tsconfig.json details

Open TonyGravagno opened this issue 2 years ago • 0 comments

There's no problem generating /src/Components/index.ts for any /src/Components/x.tsx.

I can't figure out the proper import statements in /src/App.tsx. Should we use import * (no-no per other tickets here) ? Should we `import MyComponent from "./Components" ?

And we need to understand how this relates to tsconfig.json:

"compilerOptions": {
  "baseUrl": "src",
  "target": "ES2020" /** any min/max target? **/,
  "paths": {
      "*": [ /** anything here? (path deprecated?) **/ ]
  ...
 }, 
"include": ["src" /** anything else here? **/ ]

Is there anything else in tsconfig.json that is relevant?

Thanks!

TonyGravagno avatar Dec 07 '22 02:12 TonyGravagno