Open zhanazhan opened 10 months ago
I have a parent store:
export abstract class PromiseStore<T> { protected _data: T; }
and Child Store:
export class InitialDataStore extends PromiseStore<InitialData> { constructor() { makeObservable(this, { _data: observable, }); makePersistable(this, { name: 'InitialDataStore', properties: [ '_data' ] }); } }
Now I cannot build app as it complains that '_data' is not keyof this.
Any ideas to overcome this issue?
We couldn't support inheritance. Honestly we didn't think about this case
I have a parent store:
and Child Store:
Now I cannot build app as it complains that '_data' is not keyof this.
Any ideas to overcome this issue?