TypeScript strict mode migration guide
By sarah_ts4h ago2 replies
sarah_ts
Original PostRecently enabled strict mode in our TypeScript project and it's been quite a journey. Here's what we learned and how we approached the migration... We started with: • Fixing type errors incrementally • Using type assertions where needed • Adding proper typing to external libs
type_safe
This is so helpful! Did you enable all strict flags at once or gradually? We're thinking of a gradual approach.