Kijan pou m estriktire yon pwojè TypeScript ki gwo?

posée 2 months ago207 vuesht

5

Pwojè m nan ap grandi. Ki jan pou m òganize dosye yo, tsconfig paths, ak modil pataje san sa vin yon gwo dezòd?

Diagnostic IA

Généré par IA. Ce n'est pas une réponse — la communauté ci-dessous le confirme ou le corrige. Vérifiez toujours avant de vous y fier.

posée 2 months ago
  • Thanks, this helped. Did you also try clearing the cache?

    — davidcharles 2 months ago

1 réponse

1
✓
✓ Réponse acceptée

Use tsconfig paths with a @/* alias, group by feature not by type, and put shared code in a lib/ or packages/ folder. Enable strict and noUncheckedIndexedAccess early — retrofitting is painful.

Connectez-vous pour dire si ça a marché.

answered 2 months ago
  • @Marie Louis, Mèsi anpil sa mache pou mwen kounya.

    — jeanpierre 2 months ago

Sign in and verify your email to post an answer.