diff --git a/packages/component-interface/package.json b/packages/component-interface/package.json index f06eae29..b1df58d4 100644 --- a/packages/component-interface/package.json +++ b/packages/component-interface/package.json @@ -1,6 +1,6 @@ { "name": "@serverless-devs/component-interface", - "version": "0.0.3-beta.2", + "version": "0.0.4", "description": "request for serverless-devs", "main": "lib/index.js", "scripts": { diff --git a/packages/component-interface/src/index.ts b/packages/component-interface/src/index.ts index be212d1d..4489cf7f 100644 --- a/packages/component-interface/src/index.ts +++ b/packages/component-interface/src/index.ts @@ -18,7 +18,7 @@ export interface IInputs { access: string; // 访问秘钥名 }; getCredential: () => Promise; // 获取用户秘钥 - args: []; + args: string[]; cwd: string; outputs?: Record; }