mirror of
https://github.com/appy-one/acebase-core.git
synced 2026-05-24 22:01:23 -06:00
[PR #37] [MERGED] DataSnapshot child and forEach type improvements #38
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-core#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase-core/pull/37
Author: @appy-one
Created: 4/3/2023
Status: ✅ Merged
Merged: 4/3/2023
Merged by: @appy-one
Base:
master← Head:datareference-datasnapshot-generics📝 Commits (4)
00a318a1) letchildproperty inherit from parent type,7c34acbletforEachinherit child types by default160c286MutationsDataSnapshot: overridechildtypea549220added typechecking playground📊 Changes
2 files changed (+34 additions, -3 deletions)
View changed files
➕
src/data-reference.spec.ts(+27 -0)📝
src/data-snapshot.ts(+7 -3)📄 Description
In addition to @futurGH's great work to implement type generics in #34, I improved the types of the
DataSnapshot.child,DataSnapshot.forEachandMutationDataSnapshot.childmethods🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.