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

Downgrade typescript from 5.5 -> 5.4 to fix improper p-table generic typing #1370

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

collincchoy
Copy link
Contributor

This dependency bump seems to have caused downstream issues with <p-table />. Specifically, the generic types around TableData don't seem to be working correctly. Downstream consumption breaks on scoped slot type inference where the row should be inferred from the passed in data type, but is instead being picked up as just TableData.

Found some potentially related issues in vue-tsc around TS 5.5 and changes related to @vue/runtime-core, but neither changing the global TS declaration (for global components) nor updating the tsconfig.json to include

"vueCompilerOptions": {
    "lib": "@vue/runtime-core",
},

(as mentioned in those issues) seemed to fix the issue. Going to revert this upgrade for now.

@collincchoy collincchoy requested a review from a team as a code owner July 2, 2024 20:51
Copy link

netlify bot commented Jul 2, 2024

Deploy Preview for prefect-design ready!

Name Link
🔨 Latest commit 0bb6dc5
🔍 Latest deploy log https://app.netlify.com/sites/prefect-design/deploys/668468581d04c7000807d376
😎 Deploy Preview https://deploy-preview-1370--prefect-design.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@collincchoy collincchoy merged commit 91622de into main Jul 2, 2024
6 checks passed
@collincchoy collincchoy deleted the revert-upgrade-to-typescript-5.5 branch July 2, 2024 20:55
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