@types/mitsobox
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by MrClemds.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/mitsobox

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

4.41 kB

Total Files

5

Last publish

Collaborators

  • types