Skip to content

Possibility to support "Node IndexedAccessType" #37

@xzilja

Description

@xzilja
export interface ICharacter {
  id: string;
  username: string;
}

export interface ICreateCharacterArguments {
  username: ICharacter['username'];
};

Currently generating from this file fails with following error
Error: Node IndexedAccessType not supported by ts-interface-builder: ICharacter['username']

EDIT: Additional context on this type https://www.typescriptlang.org/docs/handbook/2/indexed-access-types.html

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