mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Fabricjs missing pattern transform definitions (looks like DT prefers [] to Array, that's OK, i'll still play)
This commit is contained in:
4
types/fabric/fabric-impl.d.ts
vendored
4
types/fabric/fabric-impl.d.ts
vendored
@@ -617,7 +617,7 @@ interface IPatternOptions {
|
||||
/**
|
||||
* Transform matrix to change the pattern, imported from svgs
|
||||
*/
|
||||
patternTransform?: Array<number>;
|
||||
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<number>;
|
||||
customTransformMatrix(scaleX: number, scaleY: number, skewX: number): number[];
|
||||
|
||||
/**
|
||||
* Returns string representation of function body
|
||||
|
||||
Reference in New Issue
Block a user