Skip to content

Commit fd93d7f

Browse files
juliusmarmingecodex
andcommitted
Fix mobile native static check typecheck
Co-authored-by: codex <codex@users.noreply.github.com>
1 parent 7bea682 commit fd93d7f

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

scripts/mobile-native-static-check.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
44
import * as NodeServices from "@effect/platform-node/NodeServices";
5-
import { Console, Data, Effect, FileSystem, Logger, Path } from "effect";
5+
import * as Console from "effect/Console";
6+
import * as Data from "effect/Data";
7+
import * as Effect from "effect/Effect";
8+
import * as FileSystem from "effect/FileSystem";
9+
import * as Logger from "effect/Logger";
10+
import * as Path from "effect/Path";
11+
import * as PlatformError from "effect/PlatformError";
612
import { Command } from "effect/unstable/cli";
713
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
814

@@ -100,7 +106,11 @@ const runCommand = Effect.fn("runCommand")(function* (
100106

101107
function collectSources(
102108
directory: string,
103-
): Effect.Effect<ReadonlyArray<string>, unknown, FileSystem.FileSystem | Path.Path> {
109+
): Effect.Effect<
110+
ReadonlyArray<string>,
111+
PlatformError.PlatformError,
112+
FileSystem.FileSystem | Path.Path
113+
> {
104114
return Effect.gen(function* () {
105115
const fs = yield* FileSystem.FileSystem;
106116
const path = yield* Path.Path;

0 commit comments

Comments
 (0)