Skip to content

Commit 807d68a

Browse files
committed
fix(loader): options is optional
1 parent 7cc6075 commit 807d68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader/loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface LoaderOptions {
1414

1515
export async function loadSchema(
1616
entryPath: string,
17-
options: LoaderOptions
17+
options: LoaderOptions = {}
1818
): Promise<Schema> {
1919
const _jitiRequire = jiti(
2020
process.cwd(),

0 commit comments

Comments
 (0)