react-tutorial
react-tutorial copied to clipboard
1. 타입스크립트 연습 · GitBook
위에 class Circle implements shape {..} 에서 const circle = new Circle(5) 인스턴스만들고 변수 circle 의 타입이 Circle 이 되는것은 클래스가 객체이기때문에 될수있는건가요? 클래스도 타입의 한 종류가 될수있는것이죠?