-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
Out of ScopeThis idea sits outside of the TypeScript language design constraintsThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Suggestion for Extensions and ::
operator
π Search Terms
Support proposed ES Next "::" bind operator #3508
bind operator
Extensions
β Viability Checklist
My suggestion meets these guidelines:
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- This feature would agree with the rest of TypeScript's Design Goals.
β Suggestion
I would like to revisit Support proposed ES Next "::" bind operator #3508
We'll revisit this if the proposal proceeds to stage 1.
Originally posted by @DanielRosenwasser in #3508 (comment)
There is a new iteration on the original bind operator proposal that has reached stage 1.
This is an ECMAScript (JavaScript) proposal in stage 1.
Note: The proposal could be seen as the new iteration of old bind operator proposal and I hope we could continue the further development in the original proposal repo if possible. See tc39/proposal-bind-operator#56 .
π Motivating Example and π» Use Cases
IllusionMH and MartinJohnsits-me-VOID
Metadata
Metadata
Assignees
Labels
Out of ScopeThis idea sits outside of the TypeScript language design constraintsThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScriptAn idea for TypeScript