typescript - Property 'values' does not exist on type 'ObjectConstructor' in Typescript Playground
问题描述
Please see link. Not sure why playground is giving me this error
解决方案
The availability of ECMAScript features in the standard library is governed by a compiler option called "lib"
. As of now, you can't control "lib"
in TypeScript Playground.
In local development, set "lib"
to "es2017"
or later just like Jared suggested.
推荐阅读
- java - 如何在我的方法中将 MyClass.class 作为参数传递?
- hyperledger-fabric - 如何修复无法运行对等体,因为无法初始化加密,文件夹不存在
- haskell - 创建一个没有前一个指针的新表达式
- node.js - 如何完全擦除 Windows 中的控制台输出?
- html - 显示在其他元素下方的工具提示 z-index
- angular - 如何使用离子绕过铬中的CORB
- prolog - 如何在 Prolog Family Code 中找到侄子?
- php - Codeigniter 中的多租户,通过子域选择不同的数据库
- python - Slack bot rtm connect 在代理后面失败,使用 python slackclient
- c# - 在流程中触发事件和回调的正确/推荐方式是什么?