utools-api-types 2.6.3 → 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utools.api.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utools-api-types",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "TypeScript definitions for uTools API",
5
5
  "repository": {
6
6
  "type": "git",
package/utools.api.d.ts CHANGED
@@ -333,10 +333,10 @@ interface UToolsApi {
333
333
  explain: string,
334
334
  platform: ('darwin' | 'win32' | 'linux') | (Array<'darwin' | 'win32' | 'linux'>),
335
335
  icon?: string,
336
- cmds: string | {
336
+ cmds: (string | {
337
337
  type: 'img' | 'files' | 'regex' | 'over' | 'window',
338
338
  label: string
339
- }[]
339
+ })[]
340
340
  }): boolean;
341
341
  /**
342
342
  * 移除插件动态功能