You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Constructor<T> = { new (...args: any[]): T };
function VisuElement<B extends Constructor<any>>(base: B) {
return class extends base {
constructor(...args: any[]) {
super();
this._ve = true;
this._veBindings = [];
}
static get properties() {
return {
unbindOnUnload: Boolean //Needed when a Element is created via a Dom repeat
}
here it is not possible to replace static get properties() with decorator. => "Decorators are not valid here"
The text was updated successfully, but these errors were encountered:
I've a mixin like this
here it is not possible to replace static get properties() with decorator. => "Decorators are not valid here"
The text was updated successfully, but these errors were encountered: