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

tsconfig.json

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

index.ts

const a = 11n

posted on 2021-09-09 10:32  aisowe  阅读(262)  评论(0编辑  收藏  举报

导航