fix types

This commit is contained in:
Anton Lavrenov 2018-09-08 22:39:23 +03:00
parent 8cf561a11c
commit cce200d191
2 changed files with 2 additions and 2 deletions

2
konva.d.ts vendored
View File

@ -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>;

View File

@ -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.