Skip to content

Commit

Permalink
fix(core): type check of markdown and mdx package
Browse files Browse the repository at this point in the history
  • Loading branch information
sdorra committed Sep 3, 2024
1 parent b1fd89a commit 639c2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export type Schema<
_meta: Meta;
};

export type Context<TSchema> = {
export type Context<TSchema = unknown> = {
documents<TCollection extends AnyCollection>(
collection: TCollection
): Array<Schema<TCollection["parser"], TCollection["schema"]>>;
Expand Down

0 comments on commit 639c2ea

Please sign in to comment.