Skip to content

Improve typings #484

@PabloDinella

Description

@PabloDinella

Really good features in v0.8! But looks like it's not possible to type a document anymore:

Image

This is an important feature for typescript users like me :)

Another case is DocumentSearchResults, if you make it a discriminated union users can more elegantly determine its type when looping through it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions