Skip to content

Generators and Iteration for ES5/ES3, error TS2318: Cannot find global type 'IterableIterator'. #16477

@lusess123

Description

@lusess123

set

{
   "compilerOptions": {
        "sourceMap": false,
        "noImplicitAny": false,
        "module": "amd",
        "target": "es5",
        "jsx": "react",
        "traceResolution":true,
        "declaration": true,
        "noEmitOnError":true,
       "downlevelIteration": true
    },
    "include": [
        "./01core/**/*","./index.tsx"
    ],
    "exclude": [
        "node_modules"
    ]
}

but it errors :

error TS2318: Cannot find global type 'IterableIterator'.

build

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions