hata6502
お問い合わせ
型ガード
型ガード
https://typescript-jp.gitbook.io/deep-dive/type-system/typeguard#yznotype-guard
関連ページ
Array.filterの代わりにArray.flatMapを使うと、抽出したデータの型をTypeScriptで自動的に推論できる
Powered by Helpfeel