@leafer-in/arrow 1.0.0-rc.28 → 1.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-in/arrow",
3
- "version": "1.0.0-rc.28",
3
+ "version": "1.0.0",
4
4
  "description": "@leafer-in/arrow",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -34,8 +34,8 @@
34
34
  "leaferjs"
35
35
  ],
36
36
  "dependencies": {
37
- "@leafer-ui/draw": "1.0.0-rc.28",
38
- "@leafer-ui/interface": "1.0.0-rc.28",
39
- "@leafer-in/interface": "1.0.0-rc.28"
37
+ "@leafer-ui/draw": "1.0.0",
38
+ "@leafer-ui/interface": "1.0.0",
39
+ "@leafer-in/interface": "1.0.0"
40
40
  }
41
41
  }
package/src/Arrow.ts CHANGED
@@ -13,7 +13,7 @@ export class Arrow extends Line implements IArrow {
13
13
  declare public __: IArrowData
14
14
 
15
15
  @strokeType('angle')
16
- declare public endArrow: IArrowType
16
+ declare public endArrow?: IArrowType
17
17
 
18
18
  constructor(data?: IArrowInputData) {
19
19
  super(data)
package/types/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Line, LineData } from '@leafer-ui/draw';
4
4
  declare class Arrow extends Line implements IArrow {
5
5
  get __tag(): string;
6
6
  __: IArrowData;
7
- endArrow: IArrowType;
7
+ endArrow?: IArrowType;
8
8
  constructor(data?: IArrowInputData);
9
9
  }
10
10