gristlabs / gristlabs/ts-interface-builder
Possibility to support "Node IndexedAccessType"
Open
- Dominant language
- TypeScript
- Stars
- 138
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
```ts
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.