mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-06 15:47:30 +08:00
JsDoc types fixed and typecheck activated
This commit is contained in:
@@ -14,7 +14,7 @@ export default class Utility {
|
||||
}
|
||||
|
||||
static getScale(element) {
|
||||
return getComputedStyle(element).getPropertyValue("--ueb-scale")
|
||||
return Number(getComputedStyle(element).getPropertyValue("--ueb-scale"))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user