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

fix TypeScript declaration file #11513

Merged
merged 2 commits into from Mar 11, 2022
Merged

fix TypeScript declaration file #11513

merged 2 commits into from Mar 11, 2022

Conversation

SimonVillage
Copy link
Contributor

Summary
Seems like there was a typo in cursor.ts file which should be a TypeScript declaration cursor.d.ts. It's blocking builds and tests for some people.

closes #11511
closes #11512

@sirily11
Copy link

did u try this fix with next js build?

@Uzlopak
Copy link
Collaborator

Uzlopak commented Mar 10, 2022

Ah nice didn't see this PR.

I am currently thinking how to avoid such a petty mistake for the future. Maybe adding a .gitignore in types folder and whitelisting only .d.ts files. Would be platform independent and you could not check in the file if it was a normal .ts file.

Anyway this PR lgtm!

Copy link
Collaborator

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM!

@Uzlopak
Copy link
Collaborator

Uzlopak commented Mar 10, 2022

I added in #11516 logic to avoid again this type of regression.

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks, and sorry for the trouble!

@vkarpov15 vkarpov15 added this to the 6.2.6 milestone Mar 11, 2022
@vkarpov15 vkarpov15 merged commit e3ea972 into Automattic:master Mar 11, 2022
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.

Does not compile with TypeScript NX Next.JS app fails to build on v6.2.5
5 participants