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
Expected behavior:
Use the 'jss-plugin-default-unit' to override default units for numeric values in combination with TypeScript.
Describe the bug:
The plugin itself doesn't appear to have any issues but I am receiving TypeScript related errors in my IDE when using a function to define an option for the plugin.
Expected behavior:
Use the 'jss-plugin-default-unit' to override default units for numeric values in combination with TypeScript.
Describe the bug:
The plugin itself doesn't appear to have any issues but I am receiving TypeScript related errors in my IDE when using a function to define an option for the plugin.
Source: https://cssinjs.org/jss-plugin-default-unit/?v=v10.5.0#customizing-defaults
I'm not sure if the following is the cause but the two definitions of the Options type do not seem to match:
Codesandbox:
N/A
Versions:
The text was updated successfully, but these errors were encountered: