Kijan pou m estriktire yon pwojè TypeScript ki gwo?

asked 11 days ago128 viewsht

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?

🤖 AI diagnosis

AI-generated. Not an answer — the community below confirms or corrects it. Always verify before relying on it.

asked 11 days ago
  • Thanks, this helped. Did you also try clearing the cache?

    davidcharles 5 days ago

1 Answer

1
Accepted answer

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.

Sign in to tell others whether this worked.

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

    jeanpierre 2 days ago

Sign in and verify your email to post an answer.