Skip to content

Commit 06d9b0b

Browse files
committed
Change the missing imports
1 parent 91b2a35 commit 06d9b0b

File tree

5 files changed

+39
-33
lines changed

5 files changed

+39
-33
lines changed

jsonl-store/context.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
type Context,
3-
createContext,
4-
type Operation,
5-
} from "effection";
1+
import { type Context, createContext, type Operation } from "effection";
62
import { join } from "@std/path";
73
import type { Store } from "./types.ts";
84
import { JSONLStore } from "./jsonl.ts";

jsonl-store/jsonl.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
import { JsonParseStream } from "@std/json";
22
import { TextLineStream } from "@std/streams";
33
import { emptyDir, exists, walk } from "@std/fs";
4-
import {
5-
basename,
6-
dirname,
7-
globToRegExp,
8-
join,
9-
toFileUrl,
10-
} from "@std/path";
4+
import { basename, dirname, globToRegExp, join, toFileUrl } from "@std/path";
115

126
import {
137
call,

timebox/timebox.test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import { describe, it } from "bdd";
22
import { expect } from "expect";
33
import { timebox } from "./mod.ts";
4-
import {
5-
type Operation,
6-
run,
7-
sleep,
8-
suspend,
9-
} from "effection";
4+
import { type Operation, run, sleep, suspend } from "effection";
105

116
describe("timebox", () => {
127
it("is completed if operation returns within alloted time", async () => {

watch/child-process.ts

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,40 @@
11
import { spawn as nodeSpawn } from "node:child_process";
22

3-
type Signals =
4-
| "SIGABRT" | "SIGALRM" | "SIGBUS" | "SIGCHLD" | "SIGCONT" | "SIGFPE"
5-
| "SIGHUP" | "SIGILL" | "SIGINT" | "SIGIO" | "SIGIOT" | "SIGKILL"
6-
| "SIGPIPE" | "SIGPOLL" | "SIGPROF" | "SIGPWR" | "SIGQUIT" | "SIGSEGV"
7-
| "SIGSTKFLT" | "SIGSTOP" | "SIGSYS" | "SIGTERM" | "SIGTRAP" | "SIGTSTP"
8-
| "SIGTTIN" | "SIGTTOU" | "SIGUNUSED" | "SIGURG" | "SIGUSR1" | "SIGUSR2"
9-
| "SIGVTALRM" | "SIGWINCH" | "SIGXCPU" | "SIGXFSZ";
3+
type Signals =
4+
| "SIGABRT"
5+
| "SIGALRM"
6+
| "SIGBUS"
7+
| "SIGCHLD"
8+
| "SIGCONT"
9+
| "SIGFPE"
10+
| "SIGHUP"
11+
| "SIGILL"
12+
| "SIGINT"
13+
| "SIGIO"
14+
| "SIGIOT"
15+
| "SIGKILL"
16+
| "SIGPIPE"
17+
| "SIGPOLL"
18+
| "SIGPROF"
19+
| "SIGPWR"
20+
| "SIGQUIT"
21+
| "SIGSEGV"
22+
| "SIGSTKFLT"
23+
| "SIGSTOP"
24+
| "SIGSYS"
25+
| "SIGTERM"
26+
| "SIGTRAP"
27+
| "SIGTSTP"
28+
| "SIGTTIN"
29+
| "SIGTTOU"
30+
| "SIGUNUSED"
31+
| "SIGURG"
32+
| "SIGUSR1"
33+
| "SIGUSR2"
34+
| "SIGVTALRM"
35+
| "SIGWINCH"
36+
| "SIGXCPU"
37+
| "SIGXFSZ";
1038

1139
import type { Operation, Stream } from "effection";
1240
import {

worker/worker.test.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ import { expect } from "expect";
33
import { emptyDir, exists } from "@std/fs";
44
import { join } from "@std/path";
55
import { timebox } from "@effectionx/timebox";
6-
import {
7-
call,
8-
run,
9-
scoped,
10-
sleep,
11-
spawn,
12-
suspend,
13-
} from "effection";
6+
import { call, run, scoped, sleep, spawn, suspend } from "effection";
147

158
import { useWorker } from "./worker.ts";
169
import { assert } from "@std/assert";

0 commit comments

Comments
 (0)