Building: ⬡ https://xitter.cf/t.co/DPATjgvcxg ⁘ https://xitter.cf/t.co/CbRZQqeINV

Joined April 2022
Introducing Kirari ✨ A tiny, DOM-free syntax highlighter for the web. • 2.9 kB gzipped core • 48 languages • custom theme • Streaming support • Zero runtime dependencies Built to be lightweight and customizable. kirari.sh
11
29
2
489
17,906
Ugi Stelmokaitis retweeted
Today we're open sourcing the new Chat SDK, a unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more. Now in public beta. ▲ ~/ 𝚗𝚙𝚖 𝚒 𝚌𝚑𝚊𝚝 Let's see how it works ↓
155
397
151
4,097
834,671
Ugi Stelmokaitis retweeted
#X Space interaction 🎙️
1
109
Been working on a Design System and ran into a great TypeScript nuance that’s easy to miss 👀 The difference between : ThemeSchema vs satisfies ThemeSchema 🧵⬇️
1
157
✅ satisfies operator (TS 4.9+) ✔️ Enforces the shape ✔️ Preserves literal types ("#5a58f2") ✔️ Better autocomplete & inference
1
34
Important clarification 👇 `satisfies` does NOT affect runtime behavior It: • Does NOT merge objects • Does NOT override values • Is purely a type-checking feature
26
Ugi Stelmokaitis retweeted
CardStack Interaction 🃏 Smooth shuffle animation using #GSAP. The details are key - timing, easing, and that satisfying snap. What do you think? Any details you'd tweak? Link to CodePen 👇
1
1
114
CardStack Interaction 🃏 Smooth shuffle animation using #GSAP. The details are key - timing, easing, and that satisfying snap. What do you think? Any details you'd tweak? Link to CodePen 👇
1
1
114
Typescript 🔹 ❌ Don't: Shallow readonly. This is top level readonly
1
45
✅ Do: Recursive conditional type
1
39
Now 👇
25
🔹 Conditional Types to Filter Union Types ❌ Don’t: Manually redefine unions
1
33
✅ Do: Conditional union filtering
1
27