Skip to content

Conversation

@waterplea
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows Conventional Commits
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@IllusionMH
Copy link

You can use typeof CSS to get type with both static methods from CSS namespace. Example

@waterplea
Copy link
Member Author

Tried it and it didn't work, unfortunately naming convention for Angular token makes token name the same CSS as global CSS so we cannot do typeof :(

@IllusionMH
Copy link

Right, my bad that I've missed local CSS name. And typeof window.CSS will only work after 3.6 😞

I'm sorry for unnecessary ping.

@waterplea waterplea deleted the css-fix branch January 28, 2022 13:05
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.

4 participants