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
🐞 - Error after migration to 4.0 : Property 'items' in type 'TuiDataListGroupWrapperComponent<T>' is not assignable to the same property in base type
#8458
Closed
5 of 9 tasks
hatsantos opened this issue
Aug 11, 2024
· 0 comments
· Fixed by #8461
I am trying to migrate an application that uses Taiga UI 3.89 to version 4.0.
After running the migrations and resolving the //TODO cases that were added to the code, there are still some errors that seem to come internally from the framework.
When building a production build I get this error:
X [ERROR] TS2416: Property 'items' in type "TuiDataListGroupWrapperComponent<T>" is not assignable to the same property in base type "TuiDataListWrapperComponent<T>".
Type "readonly T[][]" is not assignable to type "readonly T[]".
Type "T[]" is not assignable to type "T".
"T" could be instantiated with an arbitrary type which could be unrelated to "T[]". [plugin angular-compiler]
node_modules/.pnpm/@taiga-ui+kit@4.0.0_guvll333atvit5skvvaejqvrwe/node_modules/@taiga-ui/kit/components/data-list-wrapper/data-list-group-wrapper.component.d.ts:4:4:
4 │ items: readonly T[][] | null;
Angular version
18.1.4
Taiga UI version
4.0
Which browsers have you used?
Chrome
Firefox
Safari
Edge
Which operating systems have you used?
macOS
Windows
Linux
iOS
Android
The text was updated successfully, but these errors were encountered:
Playground Link
No response
Description
I am trying to migrate an application that uses Taiga UI 3.89 to version 4.0.
After running the migrations and resolving the //TODO cases that were added to the code, there are still some errors that seem to come internally from the framework.
When building a production build I get this error:
Angular version
18.1.4
Taiga UI version
4.0
Which browsers have you used?
Which operating systems have you used?
The text was updated successfully, but these errors were encountered: