comlink icon indicating copy to clipboard operation
comlink copied to clipboard

Typescript Remote object wrapping not recursively applied

Open egriff38 opened this issue 5 years ago • 0 comments

The following code does not appear to compile using [email protected]

interface F{ a : [] }
declare const b: Remote<F>
b.a.length

It appears b.a resolves to Promise<[]> instead of something like Remote<[]>.

egriff38 avatar Jul 20 '20 17:07 egriff38