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
src/scaffolder/QuarkusExtensionList.tsx:57:3 -
error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type
'CreateCSSProperties<(value: string, index: number, array: readonly string[]) => unknown> | ((props: { theme: Theme; } & ((value: string, index: number, array: readonly string[]) => unknown)) => CreateCSSProperties<...>)'.
57 ))`
~
58 display: flex;
~~~~~~~~~~~~~~~~
...
86 }
~~~
87 `;
~
using such versions of material-ui:
"@material-ui/core": "^4.12.4",
"@material-ui/lab": "^4.0.0-alpha.61"
Expected behavior
No error should be reported
Context
I try to publish my project as npmjs.org module and it is needed to run "yarn tsc" in that case. This is how I got this error that we don't have when the plugin is used directly locally in backstage.
Steps to reproduce
Steps:
Current behavior
The following code (see here)
generates this error when we execute
yarn tsc
using such versions of material-ui:
Expected behavior
No error should be reported
Context
I try to publish my project as npmjs.org module and it is needed to run "yarn tsc" in that case. This is how I got this error that we don't have when the plugin is used directly locally in backstage.
Your environment
and typeconfig.json
Search keywords: TS2345, typescript, not assignable to parameter of type
The text was updated successfully, but these errors were encountered: