Skip to content

Express each() as a function#825

Merged
cowboyd merged 1 commit intov3from
each-as-fn-not-var
Nov 9, 2023
Merged

Express each() as a function#825
cowboyd merged 1 commit intov3from
each-as-fn-not-var

Conversation

@cowboyd
Copy link
Copy Markdown
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 a team and neurosnap November 9, 2023 03:04
Copy link
Copy Markdown
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
@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