Skip to content

Commit 97abab6

Browse files
committed
refactor: export utils
1 parent 2be28cd commit 97abab6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export { compute, type ComputeFn } from "./compute";
2121
export { readable, writable, toWritable } from "./readable";
2222
export { watch, type WatchEffect } from "./watch";
2323

24+
export { isReadable, unsubscribe, identity, strictEqual, arrayShallowEqual } from "./utils";
25+
2426
export {
2527
reactiveMap,
2628
type OwnedReactiveMap,

test/signal.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import matchers from "jest-extended";
66
import { describe, expect, it, vi } from "vitest";
77

8-
import { batch, compute, type Get, type Readable, watch, writable } from "../src";
9-
import { BRAND, isReadable } from "../src/utils";
8+
import { batch, compute, type Get, type Readable, watch, writable, isReadable } from "../src";
9+
import { BRAND } from "../src/utils";
1010

1111
expect.extend(matchers);
1212

0 commit comments

Comments
 (0)