1 Answers1

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