netwerk-digitaal-erfgoed/solid-crs

Property 'internal_url' is missing

Opened this issue · 0 comments

@lem-onade I'm getting this typescript mismatch error:

#0 38.77 lib/features/loan/loan.services.ts(140,18): error TS2345: Argument of type 'Thing' is not assignable to parameter of type 'ThingPersisted'.
#0 38.77   Type 'DatasetCore<Quad, Quad> & { internal_localSubject: LocalNode; }' is not assignable to type 'ThingPersisted'.
#0 38.77     Type 'DatasetCore<Quad, Quad> & { internal_localSubject: LocalNode; }' is not assignable to type 'DatasetCore<Quad, Quad> & { internal_localSubject: LocalNode; } & { internal_url: string; }'.
#0 38.77       Property 'internal_url' is missing in type 'DatasetCore<Quad, Quad> & { internal_localSubject: LocalNode; }' but required in type '{ internal_url: string; }'.

I'm thinking some kind of package mismatch?