-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
types: fix the type of the QuansyncFn.bind
#15
types: fix the type of the QuansyncFn.bind
#15
Conversation
Could you please provide a practical demonstration of this use case? |
# Conflicts: # src/index.ts # test/index.test.ts
I’m uncertain whether this helper function is truly necessary. Instead, we could simply clarify in the documentation that fn.call(this) // call directly
fn.sync.bind(this)
fn.async.bind(this) Additionally, preserving |
Okay I got it~ 😉 |
bind this
featureQuansyncFn.bind
🤣 Wait a minute~ Did I misunderstand what you said. You mean we need to provide a new returned method named If yes, let me yied a new commit for it. 🤣 |
No, as-is is fine. |
Enable to
bind this
forquansync
function.