Close document options

interface CloseOptions {
    promptToSave?: boolean;
    showCancel?: boolean;
}

Properties

promptToSave?: boolean

Whether to prompt to save

showCancel?: boolean

Whether to show the cancel button