ended6월 26일· 1 sources

I ported Rust's Result and Option types to TypeScript

Why it matters

If you've used Rust, you know how nice it is to have Result<T, E> and Option<T> types that make failure and absence explicit instead of something that blows up at runtime. I wanted that in TypeScript,...

1
Sources
+0
24h
Growth
86d
Active

Sources

Related Issues