@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
13 lines (12 loc) • 359 B
TypeScript
import { Observable } from '@tanbo/stream';
export interface UploadConfig {
/** 上传类型 */
uploadType: string;
/** 当前值 */
currentValue: string;
/** 是否支持返回多个结果 */
multiple: boolean;
}
export declare abstract class FileUploader {
abstract upload(config: UploadConfig): Observable<string | string[]>;
}