rocwind/node-comlink

Not working with latest comlink (4.2)

Opened this issue · 0 comments

The provided example crashes in comlink 4.2 (after fixing the comlink import to const Comlink = require('comlink')):

❯ node main
(node:46371) UnhandledPromiseRejectionWarning: TypeError: MyClass is not a constructor
    at f (/Users/semenov/work/semenov/test/main.js:20:25)