Locale: Handsontable.GridSettings['locale'];

Tags: #<Tag:0x00007f0b113540f8> #<Tag:0x00007f0b1135bf88>


I was doing an angular upgrade to v16 , so i simultaneously started doing the handsontable upgrade to

I was upgrading from 12.3.1 to 13.1.0

but I am getting an compilation error as

Error: node_modules/@handsontable/angular/lib/hot-table.component.d.ts:79:39 - error TS2339: Property ‘locale’ does not exist
on type ‘GridSettings’.

 locale: Handsontable.GridSettings['locale'];

Can you trouble shoot and suggest a solution for this ?

Hi @arnold.t

We had issues with Angular 16 but fixed those and released it under v13.0.0. Here’s the PR that was merged https://github.com/handsontable/handsontable/pull/10396

Please try to remove the dependencies, delete lock file, and rebuild the dependency tree.

ps. Here’s more what was changed for the version https://handsontable.com/docs/javascript-data-grid/release-notes/#_13-0-0
and here’s a migration guide https://handsontable.com/docs/javascript-data-grid/migration-from-12.4-to-13.0/

The thing is whenever I upgrade it to 13.1.0 then in the setting.d.ts of nodemodules/handsontable its missing locale declaration I tried upgrading to 13.0.0 then to 13.1.0 so its getting resolved somehow, but whenever I do a direct upgrade from 12.3.1 to 13.1.0 this issue is still reproducible

That’s an interesting case. If that would be something within the migration guide https://handsontable.com/docs/react-data-grid/migration-from-12.4-to-13.0/ you’d have the same issue with 13.1.0. I also do not see any Angular-related issues being fixed in v13.1.0 https://handsontable.com/docs/react-data-grid/release-notes/#_13-1-0

Question: are you able to stay on v13.1.0 and use it or you need to downgrade to v13.0.0?