-
-
Notifications
You must be signed in to change notification settings - Fork 303
Add Pipeable.Class
api
#4669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Pipeable.Class
api
#4669
Conversation
🦋 Changeset detectedLatest commit: bb2afb9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
.changeset/kind-poems-cough.md
Outdated
return [this.b, this.methodA()] | ||
} | ||
} | ||
console.log(new B("pipe").pipe((x) => x.methodA())) // ['pipe', 4] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this example was intending to show x.methodB()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes) Fixed
65f159e
to
36f2f6d
Compare
We could make |
Done |
43ed675
to
e21bf12
Compare
3916905
to
e1ff5ee
Compare
Hi @tim-smart — could you, please, take a look at this when you have a moment? |
Type
Description
Simplified the creation of pipeable classes with
Pipeable.Class()
mixinRelated
https://discord.com/channels/795981131316985866/795983589644304396/1355973562476925122