Skip to content

Updates to Database Type Definitions #306

Closed
@hiranya911

Description

@hiranya911
  • Expose ThenableReference type from the database type definitions.
  • Currently then() and catch() methods are exposed from the Reference type, which doesn't seem to be correct. Those belong in ThenableReference.
  • Add EventType type:
type EventType = 'value' | 'child_added' | 'child_changed' | 'child_moved' | 'child_removed';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions