Skip to content

Commit 2eb7e3e

Browse files
committedJan 20, 2025·
refactor: change WriteableSignal from type to interface
1 parent 230a5f0 commit 2eb7e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface Signal<T = any> extends Dependency {
1818
currentValue: T;
1919
}
2020

21-
type WriteableSignal<T> = {
21+
interface WriteableSignal<T> {
2222
(): T;
2323
(value: T): void;
2424
};

0 commit comments

Comments
 (0)
Please sign in to comment.