birdofpreyru / react-starter

ReactJS Starter Kit
Other
2 stars 0 forks source link

[TypeScript] Improve TS configs #30

Closed birdofpreyru closed 5 months ago

birdofpreyru commented 8 months ago

https://github.com/birdofpreyru/react-starter/blob/2e4c0ead416642978b46ab06b3b6e846089c8294/tsconfig.json#L17-L19 :point_up: here we need "*": ["./build/types-scss/src/*", "./src/shared/*", "./src/*", "./*"].

https://github.com/birdofpreyru/react-starter/blob/2e4c0ead416642978b46ab06b3b6e846089c8294/__tests__/tsconfig.json#L16-L18 :point_up: here we need "*": ["../build/types-scss/src/*", "../src/shared/*", "../src/*", "../*"].

Otherwise VSCode may not find .d.ts files for style sheets (although tsc finds them alright anyway).