Interface vs Type
型宣言のマージinterface Point { x: number; } interface Point { y: number; } const point: Point = { x: 1, y: 2 };
参考https://stackoverflow.com/questions/37233735/typescript-interfaces-vs-types |
|
Interface vs Type
型宣言のマージinterface Point { x: number; } interface Point { y: number; } const point: Point = { x: 1, y: 2 };
参考https://stackoverflow.com/questions/37233735/typescript-interfaces-vs-types |
|