F

Dev Forum

TypeScript strict mode migration guide

By sarah_ts4h ago2 replies

sarah_ts

Original Post
4h ago

Recently 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

3h 50m ago

This is so helpful! Did you enable all strict flags at once or gradually? We're thinking of a gradual approach.

Built with v0