Skip to content

Commit 10fdb15

Browse files
thetarnavgithub-actions[bot]
authored andcommitted
Format
1 parent 396812d commit 10fdb15

File tree

8 files changed

+65
-9
lines changed

8 files changed

+65
-9
lines changed

packages/active-element/src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { type Accessor, JSX } from "solid-js";
22
import { isServer } from "solid-js/web";
3-
import { type MaybeAccessor, type Directive, createHydratableSignal } from "@solid-primitives/utils";
3+
import {
4+
type MaybeAccessor,
5+
type Directive,
6+
createHydratableSignal,
7+
} from "@solid-primitives/utils";
48
import { makeEventListener, createEventListener } from "@solid-primitives/event-listener";
59

610
declare module "solid-js" {

packages/context/src/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { createContext, createComponent, useContext, type JSX, type Context, type FlowComponent } from "solid-js";
1+
import {
2+
createContext,
3+
createComponent,
4+
useContext,
5+
type JSX,
6+
type Context,
7+
type FlowComponent,
8+
} from "solid-js";
29
import type { ContextProviderComponent } from "../node_modules/solid-js/types/reactive/signal.js";
310

411
export type ContextProviderProps = {

packages/destructure/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import { createMemo, type Accessor, runWithOwner, getOwner, type MemoOptions } from "solid-js";
2-
import { access, type MaybeAccessor, type AnyObject, type Values, type AnyFunction } from "@solid-primitives/utils";
2+
import {
3+
access,
4+
type MaybeAccessor,
5+
type AnyObject,
6+
type Values,
7+
type AnyFunction,
8+
} from "@solid-primitives/utils";
39

410
type ReactiveSource = [] | any[] | AnyObject;
511

packages/intersection-observer/src/index.ts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
1-
import { onMount, onCleanup, createSignal, createEffect, untrack, type Setter, DEV } from "solid-js";
1+
import {
2+
onMount,
3+
onCleanup,
4+
createSignal,
5+
createEffect,
6+
untrack,
7+
type Setter,
8+
DEV,
9+
} from "solid-js";
210
import type { JSX, Accessor } from "solid-js";
311
import { isServer } from "solid-js/web";
4-
import { access, type FalsyValue, type MaybeAccessor, handleDiffArray } from "@solid-primitives/utils";
12+
import {
13+
access,
14+
type FalsyValue,
15+
type MaybeAccessor,
16+
handleDiffArray,
17+
} from "@solid-primitives/utils";
518

619
export type AddIntersectionObserverEntry = (el: Element) => void;
720
export type RemoveIntersectionObserverEntry = (el: Element) => void;

packages/lifecycle/src/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { type Accessor, createSignal, getListener, onCleanup, onMount, sharedConfig } from "solid-js";
1+
import {
2+
type Accessor,
3+
createSignal,
4+
getListener,
5+
onCleanup,
6+
onMount,
7+
sharedConfig,
8+
} from "solid-js";
29
import { isServer } from "solid-js/web";
310

411
/**

packages/promise/src/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { type Accessor, createComputed, createMemo, createRoot, getOwner, onCleanup } from "solid-js";
1+
import {
2+
type Accessor,
3+
createComputed,
4+
createMemo,
5+
createRoot,
6+
getOwner,
7+
onCleanup,
8+
} from "solid-js";
29
import { asArray, type Truthy } from "@solid-primitives/utils";
310

411
/**

packages/refs/src/index.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
import { chain, arrayEquals } from "@solid-primitives/utils";
2-
import { type Accessor, children, createComputed, createMemo, type JSX, onCleanup, untrack } from "solid-js";
2+
import {
3+
type Accessor,
4+
children,
5+
createComputed,
6+
createMemo,
7+
type JSX,
8+
onCleanup,
9+
untrack,
10+
} from "solid-js";
311
import { isServer } from "solid-js/web";
412

513
// TODO delete in next major version

packages/signal-builders/src/update.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
import { type ModifyValue, type UpdateSetter, update as _update } from "@solid-primitives/utils/immutable";
1+
import {
2+
type ModifyValue,
3+
type UpdateSetter,
4+
update as _update,
5+
} from "@solid-primitives/utils/immutable";
26
import { accessArray, type MaybeAccessor, type MaybeAccessorValue } from "@solid-primitives/utils";
37
import { type Accessor, createMemo } from "solid-js";
48

0 commit comments

Comments
 (0)