fix(package): input dialog options param (#622)

This commit is contained in:
Fraser Watt
2024-07-18 09:28:42 +01:00
committed by GitHub
parent e9eebd6835
commit 2b9f49febd

View File

@@ -158,6 +158,6 @@ type inputDialog = (
allowCancel?: boolean;
}
) => Promise<Array<string | number | boolean> | undefined>;
export const inputDialog: inputDialog = async (heading, rows) => await exports.ox_lib.inputDialog(heading, rows);
export const inputDialog: inputDialog = async (heading, rows, options) => await exports.ox_lib.inputDialog(heading, rows, options);
export const closeInputDialog = () => exports.ox_lib.closeInputDialog();