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
Running > vue-tsc --build --force
I get the following:
error TS2322: Type 'string' is not assignable to type 'object'.
34 tableStyle="min-width: 50rem">
~~~~~~~~~~
node_modules/primevue/datatable/DataTable.d.ts:1120:5
1120 tableStyle?: object | undefined;
~~~~~~~~~~
The expected type comes from property 'tableStyle' which is declared here on type 'DataTableProps & VNodeProps & AllowedComponentProps & ComponentCustomProps & Record<string, unknown>'
The text was updated successfully, but these errors were encountered:
chiarotto
changed the title
v0.8.0 DataTable tableStyle="min-width: 50rem"
v0.8.0 DataTable 'string' is not assignable to type 'object' error
Feb 25, 2024
Running
> vue-tsc --build --force
I get the following:
error TS2322: Type 'string' is not assignable to type 'object'.
34 tableStyle="min-width: 50rem">
~~~~~~~~~~
node_modules/primevue/datatable/DataTable.d.ts:1120:5
1120 tableStyle?: object | undefined;
~~~~~~~~~~
The expected type comes from property 'tableStyle' which is declared here on type 'DataTableProps & VNodeProps & AllowedComponentProps & ComponentCustomProps & Record<string, unknown>'
But in the docs,( https://tailwind.primevue.org/datatable/ ) the example reports:
DataTable :value="products" tableStyle="min-width: 50rem"
The text was updated successfully, but these errors were encountered: