props가 암묵적으로 'any' 타입으로 지정되어 있다는 경고!
보통 부모로부터 받는 props의 타입이 명시가 되어있지 않을 때 많이 발생한다
interface Props {}
interface State {}
export default class App extends React.Component<Props, State> {
constructor(props : Props) {super(props);}}
class MyComponent extends React.Component<any, any> {
constructor(props: any) {
super(props);
}
}
any 타입은 최대한 안쓰기!