-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScriptVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
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.
NN---
Metadata
Metadata
Assignees
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScriptVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue