Skip to content

Commit 1f3aca5

Browse files
Export isState, isComputed, isWatcher checks (#35)
* Export isState, isComputed, isWatcher checks * lint:fix --------- Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
1 parent 1c785aa commit 1f3aca5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/wrapper.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ import {createSignal, signalGetFn, signalSetFn, type SignalNode} from './signal.
3232

3333
const NODE: unique symbol = Symbol('node');
3434

35-
let isState: (s: any) => boolean, isComputed: (s: any) => boolean, isWatcher: (s: any) => boolean;
36-
3735
// eslint-disable-next-line @typescript-eslint/no-namespace
3836
export namespace Signal {
37+
export let isState: (s: any) => boolean,
38+
isComputed: (s: any) => boolean,
39+
isWatcher: (s: any) => boolean;
40+
3941
// A read-write Signal
4042
export class State<T> {
4143
readonly [NODE]: SignalNode<T>;

0 commit comments

Comments
 (0)