Skip to content

TS Playground does not provide ES2017 Object types #82

Description

TypeScript Version: Playground

Search Terms: playground es2017

Code

Object.entries({}) // Property 'entries' does not exist on type 'ObjectConstructor'.

Expected behavior: It should get no error.

Actual behavior: It does get one.

Playground Link: https://www.typescriptlang.org/play/?ssl=1&ssc=18&pln=1&pc=1#code/PIIwVgpgxgLgdBAdjATgSwgZwBQG8C+AlEA

Related Issues:

Couldn't find a relevant place to post an issue. Orta Therox (@orta), is it being maintained on https://github.com/orta/typescript-play ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

PlaygroundIssues that affect the Playground

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions