diff --git a/types/fabric/fabric-impl.d.ts b/types/fabric/fabric-impl.d.ts index 4af44275e9..c74b50caa4 100644 --- a/types/fabric/fabric-impl.d.ts +++ b/types/fabric/fabric-impl.d.ts @@ -5281,13 +5281,13 @@ interface IUtilClass { * @param [properties] Properties shared by all instances of this class * (be careful modifying objects defined here as this would affect all instances) */ - createClass(parent: Function, properties?: any): void; + createClass(parent: Function, properties?: any): any; /** * Helper for creation of "classes". * @param [properties] Properties shared by all instances of this class * (be careful modifying objects defined here as this would affect all instances) */ - createClass(properties?: any): void; + createClass(properties?: any): any; } interface IUtilObject {