Un tsconfig.json
impostato correttamente permette di avere più fiducia e garanzie sul funzionamento del progetto typescript in cui si sta lavorando. Alcune compiler options dipendono fortemente dal target e l'ambiente in cui si sviluppa. Altre, invece, hanno dei buoni default che non guasta utilizzare, soprattutto se si vogliono sfruttare a pieno le potenzialità del type system di typescript.
Qui potete vedere un esempio di tsconfig.json
che usiamo e manteniamo. Se volete approfondire qualche opzione o esplorarne altre, potete far riferimento al link ufficiale typescript a riguardo.
Contribute to orangeloop-io/resources development by creating an account on GitHub.
https://github.com/orangeloop-io/resources/blob/main/resources/tsconfig/tsconfig.json
From allowJs to useDefineForClassFields the TSConfig reference includes information about all of the active compiler flags setting up a TypeScript project.
https://www.typescriptlang.org/tsconfig/
Kristian Notari
article.cta.title
If you are looking for support for decision-making, problem-solving and strategy optimization or for the development of solutions and software suitable for your company, you have found it. Contact the Orangeloop specialized team now to bring your projects to life.