TypeError: Class constructor Modal cannot be invoked without 'new' code example
Example: TypeError: Class constructor Model cannot be invoked without
// tsconfig.json
{
"compilerOptions": {
"target": "es6"
}
}
// tsconfig.json
{
"compilerOptions": {
"target": "es6"
}
}