问题描述
我在打字稿包中使用了 bigint,但我似乎无法让打字稿识别 Bigint。
const x: bigint = new BigInt(123)
'new' expression,whose target lacks a construct signature,implicitly has an 'any' type.
我使用的是全局安装的 Typescript 4.2.4。但是,如果我在本地安装它,问题仍然存在。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)