#conditionaltypes
Blogpost: How Prisma adapts Result Types based on the Actual Arguments given

A lesson on how to achieve fine-grained TypeScript results by combining generics with conditional types.

pkerschbaum.com/blog/how-pri...

#typescript #prisma #generics #conditionaltypes #webdev
How Prisma adapts Result Types based on the Actual Arguments given
A lesson on how to achieve fine-grained TypeScript results by combining generics with conditional types.
pkerschbaum.com
November 23, 2024 at 11:29 AM
TypeScript’s type system lets you extract inner types using infer and guide logic with conditional types. Think pattern matching for types! Combine both for powerful compile-time type transformations. 🔍💪 #TypeScript #Infer #ConditionalTypes #TypeLevelMagic #TSFeatures #DevTips
August 7, 2025 at 5:08 AM
<a href="https://zenn.dev/t_keshi/articles/tips-typescript-1" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">zenn.dev/t_keshi/ar...
明日から使えるTypeScriptの応用テクニックその1 -Mapped/ConditionalTypes編-
明日から使えるTypeScriptの応用テクニックその1 -Mapped/ConditionalTypes編-
久しぶりに技術記事を書くということで、三部に分けて小ネタをやっていきたいと思います。 今回はちょっと趣向を変えて、ワイ記法™でお送りします。 https://qiita.com/Yametaro/items/a40ffcd65d77ed8b29a0 Mapped Types ! 本記事で出てくるサンプルコードには、…
zenn.dev
November 3, 2023 at 6:02 AM