Skip to content

chore: make compile happy again#17

Merged
cowboyd merged 1 commit intothefrontside:mainfrom
cxa:type-no-check
Oct 2, 2025
Merged

chore: make compile happy again#17
cowboyd merged 1 commit intothefrontside:mainfrom
cxa:type-no-check

Conversation

@cxa
Copy link
Copy Markdown
Contributor

@cxa cxa commented Oct 2, 2025

Using deno 2.5.2, this type checking blocks me to compile.

deno task compile
Task compile deno compile -o dist/lspx --allow-env --allow-run main.ts
Check file:///[redeact]/spx/main.ts
TS2345 [ERROR]: Argument of type 'WritableStream<Uint8Array<ArrayBufferLike>>' is not assignable to parameter of type 'WritableStream<any>'.
  The types of 'getWriter().closed' are incompatible between these types.
    Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
      Type 'void' is not assignable to type 'undefined'.
        Writable.fromWeb(options.write, { signal }),
                         ~~~~~~~~~~~~~
    at file:///[redeact]/lspx/lib/json-rpc-connection.ts:45:26

error: Type checking failed.

  info: The program failed type-checking, but it still might work correctly.
  hint: Re-run with --no-check to skip type-checking.

Update dependencies to pass linting

- upgrade to latest beta of effection
- use effectionx/test-adapter
- inline constant function which is not exported
@cowboyd cowboyd merged commit 4ff3c79 into thefrontside:main Oct 2, 2025
3 checks passed
@cowboyd
Copy link
Copy Markdown
Member

cowboyd commented Oct 2, 2025

Thanks!

@cxa cxa deleted the type-no-check branch October 3, 2025 01:11
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.

2 participants