jodit
Version:
Jodit is awesome and usefully wysiwyg editor with filebrowser
14 lines (11 loc) • 489 B
TypeScript
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2020 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
import { CallbackFunction } from './types';
export interface IObservableObject<T> {
on(event: string | string[], callback: CallbackFunction): this;
fire(event: string | string[], ...attr: any[]): void;
}
export type ObservableObject<T> = T & IObservableObject<T>;