From 98d33a0834730342fb0b2bbbf0dac59949a4a590 Mon Sep 17 00:00:00 2001 From: Bradley Hill Date: Tue, 5 Feb 2019 09:15:18 -0600 Subject: [PATCH] Fabricjs missing pattern transform definitions (looks like DT prefers [] to Array, that's OK, i'll still play) --- types/fabric/fabric-impl.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/fabric/fabric-impl.d.ts b/types/fabric/fabric-impl.d.ts index 1508148001..68c0a73efe 100644 --- a/types/fabric/fabric-impl.d.ts +++ b/types/fabric/fabric-impl.d.ts @@ -617,7 +617,7 @@ interface IPatternOptions { /** * Transform matrix to change the pattern, imported from svgs */ - patternTransform?: Array; + patternTransform?: number[]; } export interface Pattern extends IPatternOptions { } export class Pattern { @@ -4645,7 +4645,7 @@ interface IUtilMisc { /** * Creates a transform matrix with the specified scale and skew */ - customTransformMatrix(scaleX: number, scaleY: number, skewX: number): Array; + customTransformMatrix(scaleX: number, scaleY: number, skewX: number): number[]; /** * Returns string representation of function body