处理因使用 BigInt 等最新语法时 ts 编译报错

tsconfig.json

{
  "compilerOptions": {
    "target": "ESNEXT",
    "lib": ["DOM", "ESNEXT"],
  },
}

index.ts

const a = 11n
原文地址:https://www.cnblogs.com/aisowe/p/15245909.html