How to type check Angular Directive input assignment types in templates?

前端 未结 0 1444
故里飘歌
故里飘歌 2021-02-20 05:18

I am using Angular 9 and have following Angular directive :

export type MyDirectiveValue = "foo"|"bar"; 
@Directive({
    selector: \'[myDirec         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题