<!-- Not following the template might result in your issue being closed without further notice --> **_Question_** * [ ] I've checked documentation and searched for existing issues * [ ] I tried the [spectrum channel](https://spectrum.chat/?t=dad48299-3dfc-4e10-b6da-9af1e39498a3) <!-- Write your question below --> 1. I have model "TaskModel" and `export interface ITask extends Instance<typeof TaskModel> {} ` 2. Store `tasks: types.optional(types.array(TaskModel), [])` 3. Component UnassignedTasksContainer with props ``` export interface IUnassignedTasksContainerProps { tasks: Array<ITask>; } ``` 4. `<UnassignedTasksContainer tasks={store.tasks} />` Type error: Type 'Pick<IMSTArray<IReferenceType<IModelType<ModelPropertiesDeclarationToProperties<{ id: ISimpleType<string>; createdAt: IMaybeNull<IType<number | Date, number, Date>>; updatedAt: IMaybeNull<IType<number | Date, number, Date>>; startedAt: IMaybeNull<...>; ... 22 more ...; customer: IMaybeNull<...>; }>, { ...; }, Extrac...' is missing the following properties from type 'ITask[]': [Symbol.iterator], [Symbol.unscopables] TS2739 3.11.0 VERSION ONLY
Question
export interface ITask extends Instance<typeof TaskModel> {}tasks: types.optional(types.array(TaskModel), [])<UnassignedTasksContainer tasks={store.tasks} />Type error: Type 'Pick<IMSTArray<IReferenceType<IModelType<ModelPropertiesDeclarationToProperties<{ id: ISimpleType; createdAt: IMaybeNull<IType<number | Date, number, Date>>; updatedAt: IMaybeNull<IType<number | Date, number, Date>>; startedAt: IMaybeNull<...>; ... 22 more ...; customer: IMaybeNull<...>; }>, { ...; }, Extrac...' is missing the following properties from type 'ITask[]': [Symbol.iterator], [Symbol.unscopables] TS2739
3.11.0 VERSION ONLY