Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On tsc --build, implicit any type issue when it's not supposed to #1750

Closed
baptisteArno opened this issue Aug 28, 2024 · 8 comments
Closed

Comments

@baptisteArno
Copy link
Owner

baptisteArno commented Aug 28, 2024

Describe the bug
I am currently refactoring the monorepo to use typescript project references to have a better IDE Intellisense experience.

I am almost done but there is still an issue remaining when running pnpm tsc --build

It shows packages/logic/computeResultTranscript.ts:213:10 - error TS7006: Parameter 'item' implicitly has an 'any' type.

But when checking on any IDE, there is no issue, the type is inferred correctly so I don't know what's going on

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Checkout refacto/ts-project-references branch
  3. Run pnpm install
  4. Run pnpm turbo db:generate
  5. Run pnpm tsc --build

I need help from a Typescript wizard 🙏

Copy link

algora-pbc bot commented Aug 28, 2024

💎 $75 bounty • Typebot

Steps to solve:

  1. Start working: Comment /attempt #1750 with your implementation plan
  2. Submit work: Create a pull request including /claim #1750 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to baptisteArno/typebot.io!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @syedbarimanjan Aug 28, 2024, 4:26:37 PM WIP
🟢 @Bhavyajain21 Aug 29, 2024, 4:20:01 PM WIP

@syedbarimanjan
Copy link

syedbarimanjan commented Aug 28, 2024

/attempt #1750

Algora profile Completed bounties Tech Active attempts Options
@syedbarimanjan 8 bounties from 4 projects
TypeScript, HTML,
Ruby & more
Cancel attempt

@varshith257
Copy link

Interesting! I would like to reproduce this first before an attempt

@syedbarimanjan
Copy link

@baptisteArno can you help with this error
Screenshot from 2024-08-28 22-15-29

@baptisteArno
Copy link
Owner Author

Oh right, you need to run pnpm turbo db:generate

@Bhavyajain21
Copy link

Bhavyajain21 commented Aug 29, 2024

/attempt #1750

Algora profile Completed bounties Tech Active attempts Options
@Bhavyajain21 15 bounties from 3 projects
TypeScript, Rust,
JavaScript & more
Cancel attempt

Copy link

algora-pbc bot commented Aug 29, 2024

Note

The user @syedbarimanjan is already attempting to complete issue #1750 and claim the bounty. We recommend checking in on @syedbarimanjan's progress, and potentially collaborating, before starting a new solution.

@algora-pbc algora-pbc bot removed the 💎 Bounty label Aug 31, 2024
@baptisteArno
Copy link
Owner Author

Removing the bounty for this, I decided to not use project references in the end 🙏 Thank you for attempting this

@baptisteArno baptisteArno closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2024
@github-project-automation github-project-automation bot moved this from Backlog ☁️ to Deployed 🎉 in Typebot Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Deployed 🎉
Development

No branches or pull requests

4 participants