サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
GWの過ごし方
errore.org
Go-style error handling for TypeScript. Unions instead of tuples. instanceof instead of nil checks. In Go, functions return errors as values instead of throwing exceptions. errore brings the same convention to TypeScript—but instead of Go's two-value tuple (val, err), you return a single Error | T union. Instead of checking err != nil, you check instanceof Error. TypeScript narrows the type automa
このページを最初にブックマークしてみませんか?
『Errore - Go-style Error Handling for TypeScript』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く