修改 ts 编译配置为 es6 即可:
"compilerOptions": {
"target": "es6",
lit element: Class constructor h cannot be invoked without 'new'
2024-01-21 12:03:35
修改 ts 编译配置为 es6 即可:
"compilerOptions": {
"target": "es6",
lit element: Class constructor h cannot be invoked without 'new'