@lit-labs/preact-signals
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -7,3 +7,3 @@ /** | ||
import type { ReactiveElement } from 'lit'; | ||
type ReactiveElementConstructor = new (...args: any[]) => ReactiveElement; | ||
type ReactiveElementConstructor = abstract new (...args: any[]) => ReactiveElement; | ||
/** | ||
@@ -10,0 +10,0 @@ * Adds the ability for a LitElement or other ReactiveElement class to |
@@ -13,3 +13,3 @@ /** | ||
export function SignalWatcher(Base) { | ||
return class SignalWatcher extends Base { | ||
class SignalWatcher extends Base { | ||
performUpdate() { | ||
@@ -60,4 +60,5 @@ var _a; | ||
} | ||
}; | ||
} | ||
return SignalWatcher; | ||
} | ||
//# sourceMappingURL=signal-watcher.js.map |
@@ -7,3 +7,3 @@ /** | ||
import type { ReactiveElement } from 'lit'; | ||
type ReactiveElementConstructor = new (...args: any[]) => ReactiveElement; | ||
type ReactiveElementConstructor = abstract new (...args: any[]) => ReactiveElement; | ||
/** | ||
@@ -10,0 +10,0 @@ * Adds the ability for a LitElement or other ReactiveElement class to |
{ | ||
"name": "@lit-labs/preact-signals", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Preact Signals integration for Lit", | ||
@@ -138,4 +138,4 @@ "license": "BSD-3-Clause", | ||
"@preact/signals-core": "^1.3.0", | ||
"lit": "^2.0.0 || ^3.0.0" | ||
"lit": "^3.1.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
44831
322
Updatedlit@^3.1.2