en natif tsc fichier.ts -watch
ou bien avec un module https://www.npmjs.com/package/tsc-watch
pour le formatage du code : eslint
https://typescript-eslint.io/getting-started/