Skip to content

Consider reverting commit 0cf43e7 that changed the TS record generation from partial to non-partial #55

@kallevmercury

Description

@kallevmercury

After upgrading the library to the latest, we're seeing object types generated as non-partial, like:

{ [k in SomeType]: number };

Instead of:

{ [k in SomeType]?: number };

Unfortunately, this is a breaking change since it affects the client-side API contract. Would it be possible to consider implementing partial map support or possibly reverting the commit that changed this behavior?

Related commit: 0cf43e7

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