Skip to content

Any plans to implement generics or typescript utilities?  #19

@dwjohnston

Description

@dwjohnston

I'm wanting to do something like this:

interface Foo {
    id: string; 
    biz: string; 
    bar: string; 
}

type PartialFoo = Pick<Foo, "id" | "biz">; 

Pretty simple.

But the compiler will give me:

Error: Generics are not yet supported by ts-interface-builder:

Is there any plan to incorporate this support?

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