tslint 忽略对某行代码的检测

class Ajanuw {
  constructor() {
    console.log("hello ajanuw");
  }
}

// @ts-ignore: Unreachable code error
const a = Ajanuw();
原文地址:https://www.cnblogs.com/ajanuw/p/12291530.html