274 fixed importing io-ts/index.ts, however due to architecture of the library almost everyone needs to import one of its submodules, e.g. io-ts/Type which does not yet work.
import * as T from 'https://esm.sh/io-ts/Type'
I created a repo with test files to reproduce error here.
Error message
After running deno run I got this:
error: TS2370 [ERROR]: A rest parameter must be of an array type.
...components: {
^
at https://cdn.esm.sh/v72/io-ts@2.2.16/lib/Schemable.d.ts:63:5
TS2370 [ERROR]: A rest parameter must be of an array type.
...components: {
^
at https://cdn.esm.sh/v72/io-ts@2.2.16/lib/Schemable.d.ts:124:5
TS2370 [ERROR]: A rest parameter must be of an array type.
...components: {
^
at https://cdn.esm.sh/v72/io-ts@2.2.16/lib/Schemable.d.ts:188:5
Found 3 errors.
Failing module
274 fixed importing
io-ts/index.ts
, however due to architecture of the library almost everyone needs to import one of its submodules, e.g.io-ts/Type
which does not yet work.I created a repo with test files to reproduce error here.
Error message
After running
deno run
I got this:Additional info