Please see link. Not sure why playground is giving me this error
Asked
Active
Viewed 855 times
0
-
1Might just be a bug in the playground app. If you change `target` to `es2017` or later it should go away, but doesn't. https://stackoverflow.com/questions/52304422/property-values-does-not-exist-on-type-objectconstructor – jered Jun 13 '20 at 00:40
1 Answers
2
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.

Karol Majewski
- 23,596
- 8
- 44
- 53