Skip to content

Commit

Permalink
fix: added missing type doc (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-oloughlin authored Nov 19, 2024
1 parent 96408dc commit 9e513ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,12 @@ export type Schema<T extends SchemaDefinition | undefined> = T extends undefined
: never;
};

/** Database options */
export type KvdexOptions = {
/** The KV instance that will power the database. */
kv: DenoKv;

/** Schema definition containing the database collections */
schema?: SchemaDefinition;
};

Expand Down

0 comments on commit 9e513ca

Please sign in to comment.