You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.
Yes apparently they have efforts to change the class name Semantic-Org/Semantic-UI#5468 but in the meanwhile can the regex be changed to support such class names?
If yes I can create a PR for this
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Classnames starting with a number [0-9] cause a syntax error in the generated .css.d.ts file.
An example is the classname
35 00px
in SemanticUI which results in the type definitionexport const 35: string;
, which obviously throws syntax errors.A fix is to change the allWordsRegexp to
/^[a-zA-Z]\w*$/i
. Although no idea if that's the best approach.The text was updated successfully, but these errors were encountered: