Skip to content

js/jco types generation pinned at jco-transpile 0.5.2: fork types stream params as AsyncIterable, host is written against ReadableStream #348

Description

@lann

Residual from #345/#347. Every runtime jco path carries the lann/jco fork (jco-transpile-0.6.2-fa6990d), but js/jco's types script stays on exact 0.5.2: the fork's generated host type definitions declare async-import stream parameters as AsyncIterable<number> where webcrypto.js implements against ReadableStream, so just jco::typecheck fails against fork-generated definitions while the runtime is provably unaffected (the full conformance matrix, jco-browser included, ran green on the fork in #347).

Two ways out, pick when the dust settles upstream:

Until then the 0.5.2 pin is exact (no ^), so this is a recorded latitude, not drift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions