在深入探討介面實作之前,今天想先試著弄清楚這部分的觀念。 問題:使用interface 和type 的差異為何? interface X { a: number b: string } type X = { a: number b: ...
確定! 回上一頁