Skip to content

Commit

Permalink
Add null to pack in Folder#exportDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeAbby committed Jan 2, 2025
1 parent eaf564f commit d2cbe82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/foundry/client/data/documents/folder.d.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void>;
exportDialog(pack: string | null, options?: DialogOptions): Promise<void>;

/**
* Get the Folder documents which are sub-folders of the current folder, either direct children or recursively.
Expand Down

0 comments on commit d2cbe82

Please sign in to comment.