chore: format code
This commit is contained in:
parent
3ab877e869
commit
8c46683527
1 changed files with 6 additions and 5 deletions
|
@ -148,7 +148,8 @@ export class WebComponent extends HTMLElement {
|
||||||
effectsMap[prop].push(value.callback);
|
effectsMap[prop].push(value.callback);
|
||||||
} else if (typeMap[prop] !== typeof value) {
|
} else if (typeMap[prop] !== typeof value) {
|
||||||
throw TypeError(
|
throw TypeError(
|
||||||
`Cannot assign ${typeof value} to ${typeMap[prop]
|
`Cannot assign ${typeof value} to ${
|
||||||
|
typeMap[prop]
|
||||||
} property (setting '${prop}' of ${meta.constructor.name})`
|
} property (setting '${prop}' of ${meta.constructor.name})`
|
||||||
);
|
);
|
||||||
} else if (oldValue !== value) {
|
} else if (oldValue !== value) {
|
||||||
|
|
Loading…
Reference in a new issue