-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
need/author-inputNeeds input from the original authorNeeds input from the original author
Description
on datastore-idb
v2.1.2, the typings when passed to createHelia
seem to be broken. Oddly blockstore-idb
is fine.
error TS2769: No overload matches this call.
Overload 1 of 2, '(init: HeliaInit<Libp2p<ServiceMap>>): Promise<Helia<Libp2p<ServiceMap>>>', gave the following error.
Type 'IDBDatastore' is missing the following properties from type 'Datastore<{}, {}, {}, {}, {}, {}, {}, {}, {}, {}>': putMany, getMany, deleteMany
Overload 2 of 2, '(init?: HeliaInit<Libp2p<{ dht: DualKadDHT; pubsub: PubSub<PubSubEvents>; }>> | undefined): Promise<Helia<Libp2p<{ dht: DualKadDHT; pubsub: PubSub<...>; }>>>', gave the following error.
Type 'IDBDatastore' is not assignable to type 'Datastore<{}, {}, {}, {}, {}, {}, {}, {}, {}, {}>'.
Marcel-G and tuler
Metadata
Metadata
Assignees
Labels
need/author-inputNeeds input from the original authorNeeds input from the original author