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

chore: Fix vite-demo type checking #265

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

lanesawyer
Copy link
Collaborator

@lanesawyer lanesawyer commented Nov 13, 2024

chore: Fix vite-demo type checking

What

  • Fixes the vite-demo tsc command

How

  • Added the -b flag. The tsc error was about an output file not matching an input file, so by building, we ensure everything is generated so the error doesn't pop up again. I don't pretend to entirely understand exactly why, but it does work and will check types on the demo!

@lanesawyer
Copy link
Collaborator Author

lanesawyer commented Nov 13, 2024

Welp, that didn't work lol

I reproduced the errors locally and then fixed it locally, but then it failed on CI while using tsc --noEmit 😭

@lanesawyer
Copy link
Collaborator Author

tsc -b worked, and that would also fail on type errors, so let's go with that! Updating PR description now

@rbalicki2 rbalicki2 merged commit 91d3020 into isographlabs:main Nov 13, 2024
20 checks passed
@lanesawyer lanesawyer deleted the lane/fix-vite-demo-tsc branch November 13, 2024 19:01
PatrykWalach pushed a commit to PatrykWalach/isograph that referenced this pull request Dec 21, 2024
What

- Fixes the vite-demo tsc command

How

- Added the -b flag. The tsc error was about an output file not matching an input file, so by building, we ensure everything is generated so the error doesn't pop up again. I don't pretend to entirely understand exactly why, but it does work and will check types on the demo!
PatrykWalach pushed a commit to PatrykWalach/isograph that referenced this pull request Jan 6, 2025
What

- Fixes the vite-demo tsc command

How

- Added the -b flag. The tsc error was about an output file not matching an input file, so by building, we ensure everything is generated so the error doesn't pop up again. I don't pretend to entirely understand exactly why, but it does work and will check types on the demo!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants