The upgrade of the React type definitions to support React 18 involved some significant breaking changes. This post digs into that and examines what the upgrade path looks like.
8 posts tagged with "Definitely Typed"
View All TagsDefinitely Typed: The Movie
I'd like to tell you a story. It's the tale of the ecosystem that grew up around a language: TypeScript. TypeScript is, for want of a better description, JavaScript after a trip to Saville Row. Essentially the same language, but a little more together, a little less wild west. JS with a decent haircut and a new suit. These days, the world seems to be written in TypeScript. And when you pause to consider just how young the language is, well, that's kind of amazing.
Coming Soon: Definitely Typed
A long time ago (well, 2012) in a galaxy far, far away (okay; Plovdiv, Bulgaria)....
Symbiotic Definitely Typed
I did ponder calling this post "how to enable a good TypeScript developer experience for npm modules that aren't written in TypeScript"... Not exactly pithy though.
Semantic Versioning and Definitely Typed
This a tale of things that are and things that aren't. It's a tale of semantic versioning, the lack thereof and heartbreak. It's a story of terror and failing builds. But it has a bittersweet ending wherein our heroes learn a lesson and understand the need for compromise. We all come out better and wiser people. Hopefully there's something for everybody; let's start with an exciting opener and see where it goes...
TypeScript Definitions, webpack and Module Types
A funny thing happened on the way to the registry the other day. Something changed in an npm package I was using and confusion arose. You can read my unfiltered confusion here but here's the slightly clearer explanation.
Definitely Typed Shouldn't Exist
OK - the title's total clickbait but stay with me; there's a point here.
TypeScript: Don't forget Build Action for Implicit Referencing...
As part of the known breaking changes between 0.9 and 0.9.1 there was this subtle but significant switch: