latest typescript breaking changes in lib.dom.ts file

前端 未结 2 723
梦谈多话
梦谈多话 2021-01-02 20:43

In spec.ts For Example: Dom.spec.ts

  describe(\'matchesSelector\', () => {
    let result: boolean;
    let matchelement: HTMLElement;
it(\'Matches for t         


        
2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-02 21:02

    You can also use these easy codes at top of file

    interface Element {
       msMatchesSelector: any;
    }
    

提交回复
热议问题