mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
fix types
This commit is contained in:
parent
8cf561a11c
commit
cce200d191
2
konva.d.ts
vendored
2
konva.d.ts
vendored
@ -1165,7 +1165,7 @@ declare namespace Konva {
|
||||
rotateEnabled?: boolean;
|
||||
rotationSnaps?: Array<number>;
|
||||
rotateAnchorOffset?: number;
|
||||
borderEnabled?: number;
|
||||
borderEnabled?: boolean;
|
||||
borderStroke?: string;
|
||||
borderStrokeWidth?: number;
|
||||
borderDash?: Array<number>;
|
||||
|
@ -116,7 +116,7 @@
|
||||
* @param {Array} [config.rotationSnaps] Array of angles for rotation snaps. Default is []
|
||||
* @param {Number} [config.rotateAnchorOffset] Default is 50
|
||||
* @param {Number} [config.padding] Default is 0
|
||||
* @param {Number} [config.borderEnabled] Should we draw border? Default is true
|
||||
* @param {Boolean} [config.borderEnabled] Should we draw border? Default is true
|
||||
* @param {String} [config.borderStroke] Border stroke color
|
||||
* @param {Number} [config.borderStrokeWidth] Border stroke size
|
||||
* @param {Array} [config.borderDash] Array for border dash.
|
||||
|
Loading…
Reference in New Issue
Block a user