mirror of
https://github.com/codex-team/editor.js
synced 2024-06-26 17:30:48 +02:00
15 lines
367 B
TypeScript
15 lines
367 B
TypeScript
|
import {ConfirmNotifierOptions, NotifierOptions, PromptNotifierOptions} from 'codex-notifier';
|
||
|
|
||
|
/**
|
||
|
* Notifier API
|
||
|
*/
|
||
|
export interface Notifier {
|
||
|
|
||
|
/**
|
||
|
* Show web notification
|
||
|
*
|
||
|
* @param {NotifierOptions | ConfirmNotifierOptions | PromptNotifierOptions}
|
||
|
*/
|
||
|
show: (options: NotifierOptions | ConfirmNotifierOptions | PromptNotifierOptions) => void;
|
||
|
}
|