Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade effection to v4 #52

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

chore: upgrade effection to v4 #52

wants to merge 1 commit into from

Conversation

neurosnap
Copy link
Owner

@neurosnap neurosnap commented Dec 16, 2024

error: TS2305 [ERROR]: Module '"https://deno.land/x/[email protected]/mod.ts"' has no exported member 'Instruction'.
  Instruction,
  ~~~~~~~~~~~
    at file:///home/erock/dev/starfx/deps.ts:4:3

TS2305 [ERROR]: Module '"https://deno.land/x/[email protected]/mod.ts"' has no exported member 'Predicate'.
  Predicate,
  ~~~~~~~~~
    at file:///home/erock/dev/starfx/deps.ts:6:3

TS2305 [ERROR]: Module '"https://deno.land/x/[email protected]/mod.ts"' has no exported member 'Reject'.
  Reject,
  ~~~~~~
    at file:///home/erock/dev/starfx/deps.ts:8:3

TS2305 [ERROR]: Module '"https://deno.land/x/[email protected]/mod.ts"' has no exported member 'Result'.
  Result,
  ~~~~~~
    at file:///home/erock/dev/starfx/deps.ts:10:3

TS2305 [ERROR]: Module '"https://deno.land/x/[email protected]/mod.ts"' has no exported member 'Err'.
  Err,
  ~~~
    at file:///home/erock/dev/starfx/deps.ts:27:3

TS2305 [ERROR]: Module '"https://deno.land/x/[email protected]/mod.ts"' has no exported member 'Ok'.
  Ok,
  ~~
    at file:///home/erock/dev/starfx/deps.ts:28:3

TS2345 [ERROR]: Argument of type '(resolve: (value: Task<unknown>) => void) => Generator<Effect<unknown>, void, unknown>' is not assignable to parameter of type 'Resolver<Task<unknown>>'.
  Type 'Generator<Effect<unknown>, void, unknown>' is not assignable to type '() => void'.
    Type 'Generator<Effect<unknown>, void, unknown>' provides no match for the signature '(): void'.
    const winner = yield* action<Task<unknown>>(function* (resolve) {
                                                ~~~~~~~~
    at file:///home/erock/dev/starfx/fx/race.ts:22:49

TS2739 [ERROR]: Type 'Promise<unknown>' is missing the following properties from type 'Generator<Effect<unknown>, number, unknown>': next, return, throw, [Symbol.iterator]
    const results = yield* parallel([one, () => two.promise]);
                                                ~~~~~~~~~~~
    at file:///home/erock/dev/starfx/test/parallel.test.ts:129:49

    The expected type comes from the return type of this signature.
    export interface Callable<
                     ~~~~~~~~
        at https://deno.land/x/[email protected]/lib/call.ts:27:18

Found 8 errors.
make: *** [Makefile:10: test] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant