
All things #typescript! Organized by @MakerDao, @RampNetwork and @bhwarsaw. Sponsored by @SumoLogic
Warsaw, Poland
Joined October 2018
- Tweets131
- Following133
- Followers441
- Likes162
Warsaw TypeScript retweeted
How should this #typescript issue be properly titled? I (clearly) have trouble describing the problem:
github.com/microsoft/TypeScr…
cc'ing big brain energy @quezak2 @krzKaczor
Warsaw TypeScript retweeted
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:
Warsaw TypeScript retweeted
First participated in the release of [email protected] as contributor 🥳
typescript@^4.0.0, `StrictExtract`, `MergeN`, `IsTuple` improvement 🚀
github.com/krzkaczor/ts-esse…
Warsaw TypeScript retweeted
Let's have fun today and think how we can pass the type to generic type in TypeScript later
⬇️
Warsaw TypeScript retweeted
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/TypeScr…
@typescript now has indirect type narrowing via const thanks to @ahejlsberg ❤️🌻
Warsaw TypeScript retweeted
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.
Warsaw TypeScript retweeted
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/types…
Warsaw TypeScript retweeted
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).
Warsaw TypeScript retweeted
.@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)
Warsaw TypeScript retweeted
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/fixing-gith…
Warsaw TypeScript retweeted
Yesterday I shrank a TypeScript declaration from 700KB to 7KB by changing one line of code 🔥
🧵
Warsaw TypeScript retweeted
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#…
Warsaw TypeScript retweeted
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 🧵
Warsaw TypeScript retweeted
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
👇👇👇
Warsaw TypeScript retweeted
Earl. Young project, but with a strong fanbase in Warsaw already. Make sure to check it out! 😁
#typescript #tooling
github.com/earl-js/earl
Warsaw TypeScript retweeted
If you still use nvm PLEASE STOP (wasting your time) 🛑🛑🛑
Check out fnm as fast drop-in-replacement github.com/Schniz/fnm
And yes, it supports .nvmrc files and cd integration.
Warsaw TypeScript retweeted
Emulating dependent types with TypeScript 4.0 🤯
Make unwanted states unrepresentable, they said. Variadic tuple types, they said. And now, I created a monster.
🔗 github.com/artsy/fresnel/iss…
Warsaw TypeScript retweeted
Yo dawg, heard you like programming and types, so we put programming in your types...
// compile-time-evaluated Turing machines aside, just look at PropType -- statically typed nested property paths! 😮
github.com/microsoft/TypeScr…
Warsaw TypeScript retweeted
TIL: @romefrontend created RJSON, which seems like a good, way simpler alternative to YAML. romefrontend.dev/#rome-json
👉 comments
👉 unquoted keys
👉 optional commas
and more!
This means that way more JS syntax is a valid RJSONs (simpler coping/pasting).


























