mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Fabric - Cross origin is a string everywhere. Type as such so don't have to downcast as any.
This commit is contained in:
2
types/fabric/fabric-impl.d.ts
vendored
2
types/fabric/fabric-impl.d.ts
vendored
@@ -4529,7 +4529,7 @@ interface IUtilMisc {
|
||||
* @param [context] Context to invoke callback in
|
||||
* @param [crossOrigin] crossOrigin value to set image element to
|
||||
*/
|
||||
loadImage(url: string, callback: (image: HTMLImageElement) => void, context?: any, crossOrigin?: boolean): void;
|
||||
loadImage(url: string, callback: (image: HTMLImageElement) => void, context?: any, crossOrigin?: string): void;
|
||||
|
||||
/**
|
||||
* Creates corresponding fabric instances from their object representations
|
||||
|
||||
Reference in New Issue
Block a user