
Warsaw TypeScript
@WwaTypeScript
All things #typescript! Organized by @MakerDao, @RampNetwork and @bhwarsaw. Sponsored by @SumoLogic
You might like
The list of speakers 📢 is available now. Check it out 🔥and sign up for TypeScript #5 meetup here: meetup.com/pl-PL/Warsaw-T…
How should this #typescript issue be properly titled? I (clearly) have trouble describing the problem: github.com/microsoft/Type… cc'ing big brain energy @quezak2 @krzKaczor
Today I learned that if you don't want to emit internal types from a library, you can set `stripInternal` to true in TypeScript config and add a `@ internal` comment:

First participated in the release of [email protected] as contributor 🥳 typescript@^4.0.0, `StrictExtract`, `MergeN`, `IsTuple` improvement 🚀 github.com/krzkaczor/ts-e…
Let's have fun today and think how we can pass the type to generic type in TypeScript later ⬇️
I was going to tweet about this, but you beat me to it! Nice to finally have this working.
I thought this was a tremendous sign... And I was right! github.com/microsoft/Type… @typescript now has indirect type narrowing via const thanks to @ahejlsberg ❤️🌻

One small quality of life improvement for frontend devs in TypeScript 4.3: you can now jump into imported files TypeScript doesn’t understand, like CSS.
Check out our Release Candidate of TypeScript 4.3! We just published the RC and are looking for feedback on new features, faster --watch builds, and more. Give it a try! devblogs.microsoft.com/typescript/ann…
This is actually _really good_ and there are times when defining your types in terms of an existing value is the 100% best thing you can do 1/
Not sure if I'm proud of ashamed of this, but I set out to generate a restricted type based on existing data... and it worked?

Do you remember the difference between unknown and any in #typescript? 🥇 You can assign anything to unknown and any. 🥈 You can't assign unknow to anything except of unknow and any. 🥉 You can't access unknow properties (unlike any).

.@typescript community seems to love newer features that come with new TS versions. Here's a breakdown of downloads per version👇 🥇3.9 released 10 months ago (Inference imprv) 🥈4.1 current stable (Template Literal Types) 🥉4.0 released 6 months ago (Variadic Tuple Types)

Especially useful if you use TypeScript to develop a GitHub Action:
Lately, I started digging deep into @github Actions. The way how most actions end up placing build artifacts on the default branch was driving me mad. In this article, I explain how we can use GitHub Actions to develop GitHub Actions and fix it! 👇👇👇 dev.to/krzkaczor/fixi…
Lately, I started digging deep into @github Actions. The way how most actions end up placing build artifacts on the default branch was driving me mad. In this article, I explain how we can use GitHub Actions to develop GitHub Actions and fix it! 👇👇👇 dev.to/krzkaczor/fixi…
It you’re hungry for a TypeScript meetup just before the xmas:
🔔🎅🎄 I don’t want a lot for Christmas There are just two things I need Template string literal types (@MichalZalecki) And a good assertion lib (@krzKaczor) 📅 December 22nd (Tuesday) 🕡 6:30 pm CET meetup.com/WrocTypeScript…
Yesterday I shrank a TypeScript declaration from 700KB to 7KB by changing one line of code 🔥 🧵
By default, TypeScript WON'T throw compilation errors on unreachable code 😱 You might want to tweak that! Just set `"allowUnreachableCode": false` in tsconfig.json typescriptlang.org/tsconfig#allow…
Tip: make sure your declaration files are type-checked. Compile-time errors in unchecked *d.ts files can hide real bugs and lead to painful debugging sessions. Thread 🧵
Use auxiliary package.json to avoid "deep" import paths to your npm packages. This is a great solution if you want to clearly divine public/internal interface of your project. h/t @PSzlachciak 👇👇👇


Earl. Young project, but with a strong fanbase in Warsaw already. Make sure to check it out! 😁 #typescript #tooling github.com/earl-js/earl

United States Trends
- 1. Carson Beck 5,852 posts
- 2. Ohtani 51.4K posts
- 3. #SmackDown 44.4K posts
- 4. Louisville 14.4K posts
- 5. Miami 82.4K posts
- 6. #BostonBlue 4,003 posts
- 7. Malachi Toney 2,197 posts
- 8. George Santos 59.5K posts
- 9. Chris Bell 1,669 posts
- 10. Geno 8,825 posts
- 11. Ilja 17.9K posts
- 12. #OPLive 1,813 posts
- 13. #SeizeTheMoment 9,015 posts
- 14. Cal Raleigh 5,404 posts
- 15. Springer 9,301 posts
- 16. Grand Slam 8,506 posts
- 17. Sami 24.7K posts
- 18. Raiola 1,852 posts
- 19. #LGRW 2,368 posts
- 20. Jeff Brohm N/A
Something went wrong.
Something went wrong.