Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Docs: No way to set transpilation options in playground? #4414

Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updatingpackage: websiteIssues related to the @typescript-eslint website
@Josh-Cena

Description

@Josh-Cena

Suggested Changes

I'm trying to reproduce this in the playground:

constfoo=newMap<string,string>();letbar:string;for(const[key,value]offoo.entries()){bar=value;// "@typescript-eslint/no-unsafe-argument"}

However, TS tells me that:

Type 'IterableIterator<[string, string]>' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.(2569)

This is probably because the target is set to the defaultES3 in the playground. There's no way for me to either settarget or enabledownlevelIteration...

Affected URL(s)

Playground link

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updatingpackage: websiteIssues related to the @typescript-eslint website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp