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.

Unused type in new release

See original GitHub issue
'PromiseOrValue' is declared but never used.

with "@typechain/ethers-v5": "10.1.0" / "typechain": "8.1.0"

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:11
  • Comments:5

github_iconTop GitHub Comments

3reactions
iainnashcommented, Sep 27, 2022

Published a fix in #776 that’s fairly simple. Changing the tsconfig for a project for us for this codegen issue isn’t really a great option as well, especially since the recommendation from the typechain team is to include typechain in the build step for your project.

0reactions
apotterecommented, Jul 19, 2022

This is also breaking our build, and there doesn’t seem to be an easy automated fix.

I was able to reproduce this with @typechain/ethers-v5@10.1.0 and typechain@8.1.0, but downgrading to @typechain/ethers-v5@10.0.0 and keeping typechain@8.1.0 seemed to work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pokemon Franchise Still Has 9 Unused Type Combos After ...
Without spoiling the Pokemon that have yet to be revealed, the new typings include Electric/Fighting, Ground/Fighting, Fairy/Fighting, Normal/ ...
Read more >
Unused type combinations in Pokémon - Pokemon Database
This page lists all the unused type combos in the game. It's fun to think what Pokémon with these types would look like!...
Read more >
Gen 9 introduced 7 new, previously unused type combinations ...
New type combos are. Lokix (Bug/Dark). Scovillain (Grass/Fire). Varoom/Revroom (Steel/Poison). Pawmo/Pawmot (Electric/Fighting).
Read more >
1 New Pokemon For EVERY Unused Type Combo! - YouTube
Use Code DOBBS to get $5 off for your first #Sakuraco box through this link: https://team.sakura.co/dobbs-SC2207 and #TokyoTreat box through ...
Read more >
All unused Pokémon type combinations prior to Scarlet and ...
Here's a rundown of all of the unused Pokémon types and which new type ... the first Poison/Normal-type when Scarlet and Violet launch....
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