Skip to content

Add @uncurry decorator syntax lookup #179

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

Merged
merged 5 commits into from
Jan 15, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tweak uncurry decorator
  • Loading branch information
Kevan Stannard committed Jan 10, 2021
commit 8986afe9618647278cec02eaa97b0e07ef042a91
4 changes: 2 additions & 2 deletions misc_docs/syntax/decorator_uncurry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ summary: "This is the `@uncurry` decorator."
category: "decorators"
---

The `@uncurry` decorator allows you to annotate *external* function callback arguments
so the callbacks may be declared as normal functions `() => { ... }` rather then needing
The `@uncurry` decorator allows you to annotate **external** function callback argument types
so when writing the callbacks they may be declared as normal functions `() => { ... }` rather then needing
the uncurried function syntax `(.) => { ... }`.

### Example
Expand Down