question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

facing an error with TS

ERROR in [at-loader] ./node_modules/clooneyjs/clooney.d.ts:14:25 
    TS2307: Cannot find module 'comlink'.

here https://github.com/GoogleChromeLabs/clooney/blob/master/dist/clooney.d.ts#L14 I see here that you’re exporting this:

export { Comlink } from 'comlink';

but module doens’t have that name…

Should be export { Comlink } from 'comlinkjs'; right?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
surmacommented, Mar 26, 2018

🎉 Thanks for your patience @k1r0s!

1reaction
surmacommented, Mar 23, 2018

It is exposed via Clooney.Comlink, in case someone wants to tweak Comlink’s transferhandlers.

Thanks for the test case. My hunch is that I just need to publish my tsconfig.json to npm. I’ll get back to you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript: JavaScript With Syntax For Types.
TypeScript extends JavaScript by adding types to the language. ... TypeScript understands JavaScript and uses type inference to give you great tooling ...
Read more >
Why You Should Use TypeScript - Serokell
JavaScript is the most popular language to implement scripting for the frontend of apps and web pages. Thus, TypeScript can be used for...
Read more >
Why You Should Use Typescript for Your Next Project
TypeScript is a superset of typed JavaScript (optional) that can help build and manage large-scale JavaScript projects. It can be considered ...
Read more >
What is TypeScript and why would I use it in place of JavaScript?
TypeScript is a superset of the JavaScript language that has a single open-source compiler and is developed mainly by a single vendor: Microsoft ......
Read more >
How to Use TypeScript – Beginner-Friendly TS Tutorial
TypeScript is a superset of JavaScript. Superset means that it adds features on top of what JavaScript offers. TypeScript takes all the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found