npm.io
0.1.3 • Published 2 years ago

@types/mitsobox

Licence
MIT
Version
0.1.3
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/mitsobox

Summary

This package contains type definitions for mitsobox (https://github.com/jimfilippou/mitsobox).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mitsobox.

index.d.ts

/**
 * Create a win32 messageBox ok dialog
 *
 * @param title The title of the dialog
 * @param message The message shown in this box
 * @returns A promise witch resolve when the dialog is closed
 */
export function ok(title: string, message: string): Promise<void>;

/**
 * Create a win32 messageBox okCancel dialog
 *
 * @param title The title of the dialog
 * @param message The message shown in this box
 * @returns A promise witch resolve when the dialog is closed and gives you the button clicked
 */
export function okCancel(title: string, message: string): Promise<"OK" | "CANCEL">;

/**
 * Create a win32 messageBox abortRetryIgnore dialog
 *
 * @param title The title of the dialog
 * @param message The message shown in this box
 * @returns A promise witch resolve when the dialog is closed and gives you the button clicked
 */
export function abortRetryIgnore(title: string, message: string): Promise<"ABORT" | "RETRY" | "IGNORE">;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by MrClemds.