From 0fd67fae46d9ee7db8262ed34c6bb9f82b487c2b Mon Sep 17 00:00:00 2001 From: codert Date: Tue, 2 Apr 2019 11:36:40 +0800 Subject: [PATCH] fix: addWithUpdate method --- types/fabric/fabric-impl.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/fabric/fabric-impl.d.ts b/types/fabric/fabric-impl.d.ts index cd52bd54e5..1b88994cfe 100644 --- a/types/fabric/fabric-impl.d.ts +++ b/types/fabric/fabric-impl.d.ts @@ -2030,10 +2030,11 @@ export class Group { constructor(objects?: Object[], options?: IGroupOptions, isAlreadyGrouped?: boolean); /** * Adds an object to a group; Then recalculates group's dimension, position. + * @param [Object] object * @return thisArg * @chainable */ - addWithUpdate(object: Object): Group; + addWithUpdate(object?: Object): Group; /** * Removes an object from a group; Then recalculates group's dimension, position. * @return thisArg