Skip to content

Allow changing object property specifier (?) when updating it #112

Open
@jasonkuhrt

Description

@jasonkuhrt

The feature request is to make this possible:

$<Objects.update<'path', 1>, {path?:2}> // $ExpectType {path: 1}

That would be a breaking change, and doesn't support going the other direction. So probably a new function like this:

$<Objects.update<'path', 1>, Objects.updateSpecifier<'-?', 'path'>, {path?:2}> // $ExpectType {path: 1}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions