aircitytype 1.0.12 → 1.0.13

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/index.d.ts +2 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -20,7 +20,7 @@ interface InfoTree {
20
20
  color: string | [number, number, number, number],
21
21
  fn?: () => void
22
22
  ): void;
23
- get(fn: (e: any) => void): void;
23
+ get(fn: (e: { infotree: InfoTreeItem[] }) => void): Promise<{ infotree: InfoTreeItem[] }>;
24
24
  hide(ids: string[] | string, fn?: () => void): void;
25
25
  hideByGroupId(groupId: string, fn?: () => void): void;
26
26
  highlightByGroupId(groupId: string, fn: () => void): void;
@@ -273,7 +273,7 @@ interface Settings {
273
273
  }
274
274
 
275
275
  declare interface InfoTreeItem {
276
- iD: "ProjectTree_Root";
276
+ iD: string;
277
277
  index: 0;
278
278
  parentIndex: -1;
279
279
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aircitytype",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {