Skip to content

Use assertion functions in our type definition #2330

Closed
@novemberborn

Description

@novemberborn

We should update our TypeScript definition so that our assertions are typed as such, see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions.

That said, I haven't checked whether and how we can make this work for which assertions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions