horitayuya
horitayuya
@horitayuya.bsky.social
Software Engineer @m3, inc.
number & object is never, but number & { key: string } is not never.

This difference allows certain techniques like branded types.

But why?
____ my opinion
|
v

hrtyy.dev/anything/int...
Understanding Intersection Types in TypeScript
hrtyy.dev
February 9, 2025 at 1:48 AM
Small tips: Use TypeScript utility types with discriminated unions.

hrtyy.dev/anything/uti...

#typescript
Understanding Intersection Types in TypeScript
https://hrtyy.dev/anything/utili…
February 9, 2025 at 1:47 AM
Exploring SwiftUI's suspense and error boundaries in my latest blog post.

hrtyy.dev/mobile/swift...

#swiftui #suspense #error_boundary
February 21, 2024 at 3:27 PM
Happy New 2024!
Excited to share my latest blog post about type-level addition using TypeScript type manipulation.

type Year2024 = Add<2000, 24>
hrtyy.dev/anything/typed…#typescriptpt
January 14, 2024 at 9:45 AM
I created a CLI parser for React Server Component for fun.

hrtyy.dev/web/rsc_parser/
#nextjs #react #react_server _component
October 16, 2023 at 1:47 PM
I have published some brief research about RSC payload.

hrtyy.dev/web/rsc_payload
October 10, 2023 at 4:29 PM
I've sorted out my ideas about react server component.

hrtyy.dev/web/rsc_memo/
October 2, 2023 at 1:31 PM