Skip to content

Playground at http://www.typescriptlang.org/play doesn't appear to be updated to 2.4 #17353

Closed
@sceutre

Description

@sceutre

I'd like to use the typescript playground at http://www.typescriptlang.org/play as a tool for co-workers to explore the language, but we're using 2.4 (especially string enums) and that doesn't seem to work there. Apologies if this is wrong place to report.

TypeScript Version: less that 2.4 I'd assume

Code

enum Colors {
    Red = "RED",
    Green = "GREEN",
    Blue = "BLUE",
}

Expected behavior:
No errors when typed in on http://www.typescriptlang.org/play

Actual behavior:
Shows errors

Metadata

Metadata

Assignees

Labels

DocsThe issue relates to how you learn TypeScript

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions