After upgrading to Handsontable 7.1.0 and the Angular wrapper 5.0, I am unable to instantiate a Handsontable instance in my Angular component code. I get the error “Cannot use ‘new’ with an expression whose type lacks a call or construct signature.” when I try to instantiate Handsontable in the code below (code trimmed for brevity).
app.module.ts
import { HotTableModule } from '@handsontable/angular';
imports: [ HotTableModule ]
app.component.ts
import * as Handsontable from 'handsontable';
createTable() {
var container = document.getElementById('hot-container');
const hot = new Handsontable(container, {...});
}