All files / src index.ts

100% Statements 15/15
100% Branches 0/0
100% Functions 0/0
100% Lines 15/15

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 722x                                         2x   2x 2x 2x   2x 2x   2x                         2x               2x               2x             2x   2x 2x 2x  
import { customFormatter } from "./dev";
 
export type {
  Get,
  Readable,
  OwnedReadable,
  Writable,
  OwnedWritable,
  ReadableProvider,
  ReadableLike,
  Config,
  Disposer,
  Equal,
  Subscriber,
  SetValue,
  Version,
  Unwrap,
} from "./typings";
 
export { type Listener, type RemoveListener } from "./event";
 
export { batch, batchFlush, batchStart } from "./batch";
 
export { compute, type ComputeFn } from "./compute";
export { derive, type Derive } from "./derive";
export { combine, type Combine, type MapReadablesToValues } from "./combine";
 
export { readable, type CreateReadable, writable, type CreateWritable, toWritable, type ToWritable } from "./readable";
export { watch, type WatchEffect } from "./watch";
 
export {
  isReadable,
  type IsReadable,
  isWritable,
  type IsWritable,
  unsubscribe,
  strictEqual,
  arrayShallowEqual,
  getReadable,
} from "./utils";
 
export { type OnDisposeValue } from "./collections/utils";
 
export {
  reactiveMap,
  type OwnedReactiveMap,
  type ReactiveMap,
  type ReadonlyReactiveMap,
  type ReactiveMapChanged,
} from "./collections/reactiveMap";
 
export {
  reactiveSet,
  type OwnedReactiveSet,
  type ReactiveSet,
  type ReadonlyReactiveSet,
  type ReactiveSetChanged,
} from "./collections/reactiveSet";
 
export {
  reactiveArray,
  type OwnedReactiveArray,
  type ReactiveArray,
  type ReadonlyReactiveArray,
} from "./collections/reactiveArray";
 
export { customFormatter, trace, type Trace, type TraceConfig } from "./dev";
 
if (process.env.NODE_ENV !== "production") {
  /* @__PURE__ */ customFormatter();
}