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: update TypeScript to 5.0.2 #1478

Merged
merged 1 commit into from Mar 16, 2023
Merged

chore: update TypeScript to 5.0.2 #1478

merged 1 commit into from Mar 16, 2023

Conversation

ludofischer
Copy link
Collaborator

@ludofischer ludofischer commented Mar 15, 2023

I've updated to 5.0.2 directly since it's been released in the meantime. No changes except one parameter type change.

Fix case where now TypeScript sees this as void.
@ludofischer ludofischer changed the title chore: update TypeScript to 4.9.5 chore: update TypeScript to 5.0.2 Mar 16, 2023
@@ -307,7 +307,7 @@ function partialMerge(first, second) {

/**
* @param {function(import('postcss').Declaration):void} callback
* @this {import('postcss').Rule}
* @this void
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now TypeScript sees it as void. I think it could be right since it's arrow functions all the way, so maybe this never gets bound, but I don't think it matters since this it's never used in the callbacks either.

@ludofischer ludofischer merged commit 65674d4 into master Mar 16, 2023
@ludofischer ludofischer deleted the update-typescript branch March 16, 2023 19:11
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.

None yet

2 participants