サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Wikipedia
stereobooster.com
In one of my recent PRs I changed all interfaces to types because there were already more types than interfaces. In the review, I was asked to revert the change. I did it, but as well I wondered what the actual difference between interface and type. Let’s figure out this. I use the latest TS (v3.5.1) for examples in this post. Similarities Records 1interface IAnimal { 2 name: string; 3} 4 5type An
このページを最初にブックマークしてみませんか?
『stereobooster』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く