Skip to content

assert and CFA #2715

@kitsonk

Description

@kitsonk

Tracking issue.

After originally indicating it was a design limitation, the TypeScript team revisited allowing the ability to model type narrowing via assert(). The assert() pattern is heavily used within Deno and once microsoft/TypeScript#32695 is landed is part of a TypeScript release we will be able to make all of our code more sound.

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