diff --git a/src/types/manifest.ts b/src/types/manifest.ts index 2d4dfcc..0e2cbc1 100644 --- a/src/types/manifest.ts +++ b/src/types/manifest.ts @@ -1,14 +1,14 @@ -import { JSONSchema7, JSONSchema7Definition } from 'json-schema'; +import { JSONSchema7 } from 'json-schema'; /** * Plugin Schema - * @desc the schema of plugin, describe the api input of the function + * @desc the schema of plugin, de´scribe the api input of the function * @nameCN 插件清单 * @descCN 描述一个插件的构成要素 */ export interface PluginSchema extends Omit { properties: { - [key: string]: JSONSchema7Definition; + [key: string]: JSONSchema7; }; type: 'object'; }