Skip to content

Achieving symmetry between editor and Twoslash #55

@jasonkuhrt

Description

@jasonkuhrt

I'm not sure this is user error or something internal in Twoslash. I am seeing different types for the same identifier between my editor and Twoslash. The types are equal but in the editor they have been computed whilst in Twoslash they have not been. I am using type-fest's Simplify utility to force the type computation. This is important for DX. Why might Twoslash not be computing here? Is this a bug?

CleanShot 2024-09-10 at 15 57 39@2x

CleanShot 2024-09-10 at 15 57 31@2x

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions