mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 11:39:28 +08:00
17 lines
490 B
TypeScript
17 lines
490 B
TypeScript
// Type definitions for trayballoon
|
|
// Project: https://github.com/sindresorhus/trayballoon
|
|
// Definitions by: André Eckardt <https://github.com/korve>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare interface TrayballoonOptions {
|
|
text:string
|
|
title?:string
|
|
icon?:string
|
|
timeout?:number
|
|
wait?:boolean
|
|
}
|
|
|
|
declare function trayballoonFn( opts:TrayballoonOptions, fn:Function ): void;
|
|
declare module "trayballoon" {
|
|
export = trayballoonFn;
|
|
} |