TypeScript -- 忽略“Property 'a' does not exist on type 'xxx'“报错的方法

  直接在报错的前一行添加

// @ts-ignore

 

posted @ 2020-09-03 10:56  hannahY  阅读(1809)  评论(0编辑  收藏  举报