diff --git a/src/foundry/client/data/documents/folder.d.mts b/src/foundry/client/data/documents/folder.d.mts index 8576fbb04..fac9100d1 100644 --- a/src/foundry/client/data/documents/folder.d.mts +++ b/src/foundry/client/data/documents/folder.d.mts @@ -131,8 +131,11 @@ declare global { * @param options - Additional options passed to the Dialog.prompt method * (default: `{}`) * @returns A Promise which resolves or rejects once the dialog has been submitted or closed + * + * @remarks - Foundry documents `pack` as just being a `string` but it is unused and Foundry itself + * calls `exportDialog` with `null`. */ - exportDialog(pack: string, options?: DialogOptions): Promise; + exportDialog(pack: string | null, options?: DialogOptions): Promise; /** * Get the Folder documents which are sub-folders of the current folder, either direct children or recursively.