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

More than types #6

Merged
merged 6 commits into from
Oct 25, 2024
Merged

More than types #6

merged 6 commits into from
Oct 25, 2024

Conversation

EliasEriksson
Copy link
Contributor

  • Added interface for Stack.
  • Added interface for Vector.
  • Added abstract base class for Collection.
  • Added Array type helpers UnionValues<T> and OmitFirst<T>.
  • Added IterableWeakMap class implementation as suggested by tc39.
  • Added IterableWeakSet class derived from iterableWeakMap implementation.
  • Added Object type helpers: DotNotation<T>, KeyOf<T>, ValueOf<T> and RemoveMethods<T>.
  • Added new Object function: map(...), reduce(...), filter(...) and mapValues(...).
  • Added versions of Object.entries(...), Object.fromEntries(...) and Object.keys(...) where the key is typed as keyof T rather than string.
  • Added String function capitalize(...)
  • Added Promise helper functions lazy(...) and awaitLatest(...)

@EliasEriksson EliasEriksson merged commit 155127e into master Oct 25, 2024
4 checks passed
@EliasEriksson EliasEriksson deleted the More-than-types branch October 25, 2024 09:18
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.

2 participants