Skip to content

Commit 68691a2

Browse files
committed
Fix types
1 parent a62a834 commit 68691a2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/feed.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import {
2-
Database,
3-
type AccessController,
4-
type Identity,
5-
type Storage,
6-
type DagCborEncodable,
7-
type MetaData,
8-
type Log,
9-
type LogEntry,
10-
BaseDatabase,
1+
import { Database } from "@orbitdb/core";
2+
import type {
3+
AccessController,
4+
Identity,
5+
Storage,
6+
DagCborEncodable,
7+
MetaData,
8+
Log,
9+
LogEntry,
10+
InternalDatabase,
1111
} from "@orbitdb/core";
1212
import type { HeliaLibp2p } from "helia";
1313
import type { Libp2p } from "libp2p";
@@ -78,7 +78,7 @@ const Feed =
7878

7979
Feed.type = type;
8080

81-
export const FeedApi = ({ database }: { database: BaseDatabase }) => {
81+
export const FeedApi = ({ database }: { database: InternalDatabase }) => {
8282
const { addOperation, log } = database;
8383

8484
const add = async (value: DagCborEncodable): Promise<string> => {

0 commit comments

Comments
 (0)