Skip to content

Create ES3 specific lib.d.ts #2410

Description

By targeting to ES3, the following code (within a class definition):

setOptionDisable(option: HTMLOptionElement,operation: EnumOperations){ko.applyBindingsToNode(option,{disable: BI_OP.has(operation)? this.selectedNumbers().length>=2 : true},item);}

compiles, but the item variable is not defined. Does really item exists in a ES3 standard browser? I wasn't able to find it, so I treated this as a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions