Skip to content

Commit

Permalink
fix(loader): options is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 27, 2023
1 parent 7cc6075 commit 807d68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface LoaderOptions {

export async function loadSchema(
entryPath: string,
options: LoaderOptions
options: LoaderOptions = {}
): Promise<Schema> {
const _jitiRequire = jiti(
process.cwd(),
Expand Down

0 comments on commit 807d68a

Please sign in to comment.