Skip to content
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

Express each() as a function #825

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Express each() as a function #825

merged 1 commit into from
Nov 9, 2023

Conversation

cowboyd
Copy link
Member

@cowboyd cowboyd commented Nov 8, 2023

Motivation

We were expressing the each() operation as a const reference. Honestly, I can't recall why this was done other than some vague connection to TypeScript. However, it makes the typedocs weird because each is represented as a var, not a function.

Approach

This switches each() to be a function and fixes the typedoc at the same time.

We were expressing the `each()` operation as a `const`
reference. Honestly, I can't recall why this was done other than some
vague connection to TypeScript. However, it makes the typedocs weird
because `each` is represented as a `var`, not a `function`.

This switches `each()` to be a function and fixes the typedoc at the
same time.
@cowboyd cowboyd requested review from neurosnap and a team November 9, 2023 03:04
Copy link
Member

@taras taras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cowboyd cowboyd merged commit eac6433 into v3 Nov 9, 2023
1 check passed
@cowboyd cowboyd deleted the each-as-fn-not-var branch November 9, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants