Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/signals/src/batch.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { expect, it, vi } from 'vitest';

import { signal } from './signal.js';
import { computed } from './computed.js';
import { batch } from './batch.js';
import { computed } from './computed.js';
import { signal } from './signal.js';

it('should call subscriber only once if several signals were changed', () => {
const a = signal(1);
Expand Down
2 changes: 1 addition & 1 deletion packages/signals/src/signal.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { collectSignal } from './computed.js';
import { runInBatchMode } from './batch.js';
import { collectSignal } from './computed.js';

export type SubscribeListenerFn<T> = (current: T, previous: T) => void;
export type RemoveListenerFn = () => void;
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/src/casing/deepSnakeToCamelObjKeys.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { snakeToCamelObjKeys } from '@/casing/snakeToCamelObjKeys.js';
import type { SnakeToCamelCase } from '@/casing/snakeToCamel.js';
import { snakeToCamelObjKeys } from '@/casing/snakeToCamelObjKeys.js';

export type DeepConvertSnakeKeysToCamelCase<T> = T extends infer U
? U extends object
Expand Down
6 changes: 3 additions & 3 deletions packages/toolkit/src/monads.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as E from 'fp-ts/Either';
import * as TE from 'fp-ts/TaskEither';
import { pipe } from 'fp-ts/function';
import {
BetterPromise,
type BetterPromiseExecutorContext,
type BetterPromiseOptions,
type TimeoutError,
} from 'better-promises';
import * as E from 'fp-ts/Either';
import * as TE from 'fp-ts/TaskEither';
import { pipe } from 'fp-ts/function';

import type { AnyFn } from '@/types/misc.js';

Expand Down
Loading