@mastergo/plugin-typings 1.16.0 → 1.16.2

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## [1.16.2](https://github.com/mastergo-design/plugin-typings/compare/v1.16.1...v1.16.2) (2023-03-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 修复instance的swapComponent和detachInstance类型错误 ([c8aa208](https://github.com/mastergo-design/plugin-typings/commit/c8aa208700fc4f5323bffc41737199360ee13f6b))
7
+
8
+
9
+
10
+ ## [1.16.1](https://github.com/mastergo-design/plugin-typings/compare/v1.16.0...v1.16.1) (2023-03-22)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * groupNode和booleanOperation移除frameContainerMixin ([de52f6c](https://github.com/mastergo-design/plugin-typings/commit/de52f6cbb991c812de6fe7579293b16e336bde20))
16
+
17
+
18
+
1
19
  # [1.16.0](https://github.com/mastergo-design/plugin-typings/compare/v1.15.1...v1.16.0) (2023-03-21)
2
20
 
3
21
 
package/dist/index.d.ts CHANGED
@@ -781,7 +781,7 @@ declare global {
781
781
  resizeToFit(): void
782
782
  }
783
783
 
784
- interface GroupNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
784
+ interface GroupNode extends DefaultContainerMixin, GeometryMixin {
785
785
  readonly type: 'GROUP'
786
786
  clone(): GroupNode
787
787
  }
@@ -849,7 +849,6 @@ declare global {
849
849
 
850
850
  interface BooleanOperationNode
851
851
  extends DefaultShapeMixin,
852
- FrameContainerMixin,
853
852
  Omit<ChildrenMixin, 'appendChild' | 'insertChild'>,
854
853
  CornerMixin {
855
854
  readonly type: 'BOOLEAN_OPERATION'
@@ -1032,8 +1031,8 @@ declare global {
1032
1031
  /**
1033
1032
  * this is an async func
1034
1033
  */
1035
- swapComponent(): void
1036
- detachInstance(): InstanceNode
1034
+ swapComponent(component: ComponentNode): void
1035
+ detachInstance(): FrameNode
1037
1036
  mainComponent: ComponentNode | null
1038
1037
  }
1039
1038
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "1.16.0",
3
+ "version": "1.16.2",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",