Skip to content

Update jsx.d.ts #13021

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

Closed
wants to merge 1 commit into from
Closed

Update jsx.d.ts #13021

wants to merge 1 commit into from

Conversation

vj00000
Copy link

@vj00000 vj00000 commented May 20, 2023

#13011 fixing issue

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • [x ] Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • [ x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

@@ -36,7 +36,7 @@ export interface CSSProperties
* For examples and more information, visit:
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
*/
[v: `--${string}`]: string | number | undefined
[v: '--${string}']: string | number | undefined

Choose a reason for hiding this comment

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

This looks like intentional from devs since you're using a string '' and not template string `` you can specify whatever you want as a key the previous behaviour will enforce you to use a key like this '--key'.

@posva posva closed this Aug 12, 2024
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.

3 participants