Kijan pou m estriktire yon pwojè TypeScript ki gwo?

poze 2 months ago202 gadeht

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?

Dyagnostik IA

Se IA ki fè l. Se pa yon repons — kominote a anba a konfime oswa korije l. Toujou verifye anvan ou fye l.

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

    — davidcharles 2 months ago

1 Repons

1
✓
✓ Repons yo aksepte

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.

Konekte pou di lòt moun si li te mache.

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.