File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11import { expect , it , vi } from 'vitest' ;
22
3- import { signal } from './signal.js' ;
4- import { computed } from './computed.js' ;
53import { batch } from './batch.js' ;
4+ import { computed } from './computed.js' ;
5+ import { signal } from './signal.js' ;
66
77it ( 'should call subscriber only once if several signals were changed' , ( ) => {
88 const a = signal ( 1 ) ;
Original file line number Diff line number Diff line change 1- import { collectSignal } from './computed.js' ;
21import { runInBatchMode } from './batch.js' ;
2+ import { collectSignal } from './computed.js' ;
33
44export type SubscribeListenerFn < T > = ( current : T , previous : T ) => void ;
55export type RemoveListenerFn = ( ) => void ;
Original file line number Diff line number Diff line change 1- import { snakeToCamelObjKeys } from '@/casing/snakeToCamelObjKeys.js' ;
21import type { SnakeToCamelCase } from '@/casing/snakeToCamel.js' ;
2+ import { snakeToCamelObjKeys } from '@/casing/snakeToCamelObjKeys.js' ;
33
44export type DeepConvertSnakeKeysToCamelCase < T > = T extends infer U
55 ? U extends object
Original file line number Diff line number Diff line change 1- import * as E from 'fp-ts/Either' ;
2- import * as TE from 'fp-ts/TaskEither' ;
3- import { pipe } from 'fp-ts/function' ;
41import {
52 BetterPromise ,
63 type BetterPromiseExecutorContext ,
74 type BetterPromiseOptions ,
85 type TimeoutError ,
96} from 'better-promises' ;
7+ import * as E from 'fp-ts/Either' ;
8+ import * as TE from 'fp-ts/TaskEither' ;
9+ import { pipe } from 'fp-ts/function' ;
1010
1111import type { AnyFn } from '@/types/misc.js' ;
1212
You can’t perform that action at this time.
0 commit comments