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.

Compilation problem with ts 2.4.0

See original GitHub issue

Trying to compile a project with preact as a dependency and get the following error:

node_modules/preact/dist/preact.d.ts(48,17): error TS2559: Type 'Component<PropsType, StateType>' has no properties in common with type 'ComponentLifecycle<PropsType, StateType>'.

This only happens with ts 2.4.0, 2.3.x works file

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
idchlifecommented, Jul 9, 2017

Waiting for this one too.

2reactions
sxcoolercommented, Jul 6, 2017

there’s a workaround: fix your typescript version to 2.3.4 until Preact 8.2 published.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[waves2Foam] Compilation Error with OF-2.4.0 on Ubuntu 18.04
I'm trying to compile waves2Foam on ubuntu 18.04 and with OF-2.4.0. I'm getting an error when the compiler trys to make waveFoam.
Read more >
Did someone manage to compile latest Tome 2.4.0 and could ...
I installed everything I could (Boost, cmake and their respective dependencies) but I still miss gpk2, X11 and ncurses dependencies, and I get ......
Read more >
Angular 2 Typescript Compilation Errors - Stack Overflow
The issue due to a recent update in DefinitelyTyped's @types/core-js code ... to retrieve an explicit (and working) version+build for the core-js typings ......
Read more >
typescript-docs-verifier - npm
Verifies that typescript examples in markdown files actually compile.. Latest version: 2.4.0, last published: 2 months ago.
Read more >
Problem compiling Cantera 2.4.0 - Google Groups
I'm compiling Cantera 2.4.0 from source by following the steps mentioned ... Or is the error that mingw's ranlib crashes during that call...
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