On `tsc --build`, implicit any type issue when it's not supposed to
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:
- Clone the repo
- Checkout
refacto/ts-project-referencesbranch - Run
pnpm install - Run
pnpm turbo db:generate - Run
pnpm tsc --build
I need help from a Typescript wizard 🙏
💎 $75 bounty • Typebot
Steps to solve:
-
Start working: Comment
/attempt #1750with your implementation plan -
Submit work: Create a pull request including
/claim #1750in the PR body to claim the bounty - 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 bounty • Share 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 |
/attempt #1750
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @syedbarimanjan | 8 bounties from 4 projects | TypeScript, HTML, Ruby & more |
Cancel attempt |
Interesting! I would like to reproduce this first before an attempt
@baptisteArno can you help with this error
Oh right, you need to run pnpm turbo db:generate
/attempt #1750
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @Bhavyajain21 | 15 bounties from 3 projects | TypeScript, Rust, JavaScript & more |
Cancel attempt |
[!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.
Removing the bounty for this, I decided to not use project references in the end 🙏 Thank you for attempting this