Re:TypeScript Features to Avoid
by jbbe on Thursday January 20, 2022 @01:04PM
(#30012360)
I often use that approach but (especially when you're importing from a seperate package) the compiler will sometimes view MyType as just an alias for string and won't catch typos.
Am I missing something in how to use this?