코드를 따라서 하다가 저만 오류나는 상황입니다..ㅡ,,ㅡ
function Component(constructorfn?:Function){
return constructorfn
}
@Component()
class AppComponent{
constructor(){
}
}
function Component(constructorfn?: Function | undefined): Function | undefined
Unable to resolve signature of class decorator when called as an expression.
This expression is not callable.
No constituent of type 'Function | undefined' is callable.