Skip to content

Fix typo'd setter name in declaration.d.ts - #1953

Merged
ai merged 1 commit into
postcss:mainfrom
querkmachine:patch-1
Jul 29, 2024
Merged

ai merged 1 commit into
postcss:mainfrom
querkmachine:patch-1

Conversation

@querkmachine

@querkmachine querkmachine commented Jul 29, 2024 •

Copy link
Copy Markdown
Contributor

Hello, I just happened to notice this typo whilst reviewing the changes in the most recent release. (Thanks Dependabot!)

This was introduced in #1950.

I'm not familiar with PostCSS's internals or release process. As a release of PostCSS has already gone out with this setter name spelled incorrectly, I'm not sure if this warrants additional work to support the prior name and avoid a breaking change.

Feel free to modify this PR as needed.

@ai

ai commented Jul 29, 2024

Copy link
Copy Markdown
Member

cc @nex3

@ai

ai commented Jul 29, 2024

Copy link
Copy Markdown
Member

In reality Declaration#variable has no setter, only getter 6127a44

I think we could not release this fix since nobody can use broken property.

hanzo-dev pushed a commit to hanzoai/postcss that referenced this pull request Sep 9, 2026
Fix typo'd setter name in declaration.d.ts
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