From 8e2067054ed94636e6867e02c23786d9ac703606 Mon Sep 17 00:00:00 2001 From: Ivan Uhalin Date: Wed, 26 Jun 2024 09:07:54 +0400 Subject: [PATCH] make the config argument for the createIndex optional --- wrappers/node/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.