使用Tabulator构建自定义模块失败问题求助
在TypeScript中开发Tabulator 5.5.4自定义模块时遇到的错误
我在TypeScript应用中使用Tabulator 5.5.4版本,计划开发自定义模块,严格遵循Tabulator官方文档的步骤操作,但在自定义模块创建过程中出现错误,错误截图如下:


custom-Module.ts
import * as Tabulator from "tabulator-tables"; class CustomModule extends Tabulator.Module{ constructor(table){ super(table); //register table options //register column options //register table functions //register component functions } initialize(){ //subscribe to internal events //register data handlers } } CustomModule.moduleName = "custom";
table.ts
import * as Tabulator from "tabulator-tables"; Tabulator.Tabulator.registerModule(CustomModule );
环境配置
- @types/tabulator-tables 5.5.7
- tabulator-tables 5.5.4
- tsconfig.json
- target: es5
- module: amd
内容的提问来源于stack exchange,提问作者Ashok Ananthan
相关产品推荐
相关产品推荐

