Skip to content

Update doesn't work when attempting to make keys non-nullable #333

@DetachHead

Description

@DetachHead
import { x } from 'ts-toolbelt/out/Any/x'
import { Update } from 'ts-toolbelt/out/Object/Update'

declare const foo: Update<{ a: number | undefined }, 'a', x & {}> // { a: number | undefined }

playground

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @DetachHead

        Issue actions

          `Update` doesn't work when attempting to make keys non-nullable · Issue #333 · millsp/ts-toolbelt