cast
TS error when types.array
sub-type has reference
#1640
Labels
Typescript
Issue related to Typescript typings
Bug report
Sandbox link or minimal reproduction code
Describe the expected behavior
self.entities = cast(entities)
should not have any typescript errorsDescribe the observed behavior
TypeScript error:
Type '{ id: string; name: string; } & NonEmptyObject & IStateTreeNode<IReferenceType<IModelType<{ id: ISimpleType<string>; name: ISimpleType<string>; }, {}, _NotCustomized, _NotCustomized>>>' is not assignable to type 'ReferenceIdentifier'
The text was updated successfully, but these errors were encountered: