Talk in English - UK at Webdevcon 2025
Short URL: https://joind.in/talk/f6776
(QR-Code (opens in new window))
I’m sharing best practices on building a truly cross-platform / universal TypeScript library in 2025. TypeScript compiles to JavaScript which runs everywhere, so that should be easy, right? For a simple library, sure, but when you need access to runtime APIs, things become more problematic. I’ll touch on how to use TypeScript project references to achieve lockdown of runtime types and fast incremental builds and how to use static declarations via export conditions instead of imperative checks at runtime, making bundlers happier about the awesome library you’ve built.
Comments
Please login to leave a comment
I'm looking forward to giving my talk and hope that you'll rate it, ask questions live and here. I'd appreciate any feedback you might have 💙
Here's a link for my slides: https://github.com/kraenhansen/universal-typescript-library-talk/tree/webdevcon-2025