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

  直接在报错的前一行添加

// @ts-ignore
原文地址:https://www.cnblogs.com/yanghana/p/13606387.html