Trying to upgrade Handsontable from 6.2.2 to 7.0.
Apparently, new version requires Typescript 3.3 (or newer). Attempt to build with TS 3.2.4 fails with:
error TS2709: Cannot use namespace ‘Handsontable’ as a type
I cannot upgrade TS to 3.3 because Angular isn’t compatible with that version. Catch 22.
I have created new Angular 7 app from scratch.
Added handsontable packages (npm).
Added “Referencing the Handsontable instance” example.
Line
hotSettings: Handsontable.GridSettings
won’t compile: ERROR in src/app/app.component.ts(16,28): error TS2694: Namespace ‘“C:/Work/Test/Angular/my-app51/node_modules/handsontable/handsontable”’ has no exported member ‘GridSettings’. src/app/app.component.ts(17,22): error TS2339: Property ‘helper’ does not exist on type ‘typeof import(“C:/Work/Test/Angular/my-app51/node_modules/handsontable/handsontable”)’.