figma-api-stub
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -198,2 +198,15 @@ "use strict"; | ||
}); | ||
Object.defineProperty(TextNodeStub.prototype, "textAutoResize", { | ||
get: function () { | ||
return this._textAutoResize; | ||
}, | ||
set: function (value) { | ||
if (joinedConfig.simulateErrors && !isFontLoaded(this.fontName)) { | ||
throw new Error("Error: font is not loaded " + this.fontName.family + " " + this.fontName.style); | ||
} | ||
this._textAutoResize = value; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
return TextNodeStub; | ||
@@ -200,0 +213,0 @@ }()); |
{ | ||
"name": "figma-api-stub", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Figma API stub", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44978
948