diff --git a/wrappers/node/types/index.d.ts b/wrappers/node/types/index.d.ts index dc3a85b1..56807919 100644 --- a/wrappers/node/types/index.d.ts +++ b/wrappers/node/types/index.d.ts @@ -1,7 +1,7 @@ /** * Create a new Pagefind index that files can be added to */ -export function createIndex(config: PagefindServiceConfig): Promise; +export function createIndex(config?: PagefindServiceConfig): Promise; /** * Close the Pagefind service and clean up, stopping the binary altogether.