Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async getStorageValue() {
const value = await BaseBooleanAttribute.prototype.getStorageValue.call(this);
if (value === true) {
return 1;
}
if (value === false) {
return 0;
}
return value;
}
}