TypeScript Partial<Pick<MyClass, 'property'>> results in Cyclic type found
Open
- Dominant language
- TypeScript
- Stars
- 447
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
When I use TypeScript syntax `MyInterface & Partial>` to pick some properties of an interface and make them optional, typeconv throws the error "Cyclic type found when trying to inline type".
It works if I manually define the picked properties with `MyInterface & { property?: string }`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.