Skip to content

Add support for Record<,> #40

Open
@jeremyVignelles

Description

@jeremyVignelles

Currently, you can't type a property as Record<string, string> :

Generics are not yet supported by ts-interface-builder: Record<string, string>

However, this seems to work: { [key: string] : string; }

Would it be possible to add support for Record<TKey, TValue> as an alias for { [key: TKey] : TValue } ?

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