File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @preact/signals-core " : patch
3
+ ---
4
+
5
+ Remove internal annotation as it confused TS
Original file line number Diff line number Diff line change @@ -544,7 +544,9 @@ function cleanupSources(target: Computed | Effect) {
544
544
target . _sources = head ;
545
545
}
546
546
547
- /** @internal */
547
+ /**
548
+ * The base class for computed signals.
549
+ */
548
550
declare class Computed < T = any > extends Signal < T > {
549
551
_fn : ( ) => T ;
550
552
_sources ?: Node ;
@@ -780,7 +782,9 @@ type EffectFn =
780
782
| ( ( this : { dispose : ( ) => void } ) => void | ( ( ) => void ) )
781
783
| ( ( ) => void | ( ( ) => void ) ) ;
782
784
783
- /** @internal */
785
+ /**
786
+ * The base class for reactive effects.
787
+ */
784
788
declare class Effect {
785
789
_fn ?: EffectFn ;
786
790
_cleanup ?: ( ) => void ;
You can’t perform that action at this time.
0 commit comments