From a7f1c533bdb6130eba1a5137ed3a8b3c19aa5289 Mon Sep 17 00:00:00 2001 From: Bryan Krol Date: Thu, 21 Feb 2019 14:27:27 -0500 Subject: [PATCH] Updated getSelectionStyles for options start and end index --- types/fabric/fabric-impl.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/fabric/fabric-impl.d.ts b/types/fabric/fabric-impl.d.ts index 6c48f4b0e7..fb9a0d8a63 100644 --- a/types/fabric/fabric-impl.d.ts +++ b/types/fabric/fabric-impl.d.ts @@ -3899,7 +3899,7 @@ export class Text extends Object { * @param {Boolean} [complete] get full style or not * @return {Array} styles an array with one, zero or more Style objects */ - getSelectionStyles(startIndex: number, endIndex: number, complete?: boolean): any[]; + getSelectionStyles(startIndex?: number, endIndex?: number, complete?: boolean): any[]; /** * Returns styles-string for svg-export * @param {Boolean} skipShadow a boolean to skip shadow filter output