我想调用一个函数Number.isInteger()
,但显示的Property 'isInteger' does not exist on type 'NumberConstructor'
是一条错误消息。我找到了关于 tsconfig.json 的线索,但我有点困惑如何正确设置它。如何在 gitpod 中正确安装 typescript es6 库?
问问题
20 次
我想调用一个函数Number.isInteger()
,但显示的Property 'isInteger' does not exist on type 'NumberConstructor'
是一条错误消息。我找到了关于 tsconfig.json 的线索,但我有点困惑如何正确设置它。如何在 gitpod 中正确安装 typescript es6 库?