feat: soil ID slice/service #340
Annotations
3 errors
src/soilId/soilIdSlice.ts#L57
Argument of type '(_: void, user: User | null, { dispatch }: ThunkAPI) => Promise<{ soilSettings: { [k: string]: { measurementUnits?: SoilIdProjectSoilSettingsMeasurementUnitsChoices | null | undefined; ... 16 more ...; depthIntervals: { ...; }[]; }; }; soilData: { ...; }; } | null>' is not assignable to parameter of type '(arg: void, currentUser: User | null, thunkAPI: ThunkAPI) => { projects: { [k: string]: { id: string; name: string; privacy: ProjectManagementProjectPrivacyChoices; ... 4 more ...; membershipList: { ...; }; }; }; soilSettings: { ...; }; sites: { ...; }; soilData: { ...; }; } | Promise<...>'.
|
src/soilId/soilIdSlice.ts#L63
Argument of type '{ [k: string]: { id: string; name: string; privacy: ProjectManagementProjectPrivacyChoices; description: string; updatedAt: any; archived: boolean; siteSet: { ...; }; membershipList: { ...; }; }; }' is not assignable to parameter of type 'Record<string, Project>'.
|
|
The logs for this run have expired and are no longer available.
Loading