diff --git a/typings/plugin.d.ts b/typings/plugin.d.ts new file mode 100644 index 0000000..e2ae5a0 --- /dev/null +++ b/typings/plugin.d.ts @@ -0,0 +1,8 @@ +import { BaseUpload, MODETYPE } from './upload'; +type AnyString = string & {}; +/** + * 插件类型声明 + */ +interface PluginMap { + upload: BaseUpload; +}