(core) Port LinkingState.js to TypeScript

Summary: Converted LinkingState from constructor function to class.

Test Plan: no

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2997
This commit is contained in:
Alex Hall
2021-08-26 13:39:17 +02:00
parent faa0d9988e
commit 7465af8ce8
5 changed files with 149 additions and 150 deletions

View File

@@ -308,7 +308,7 @@ declare module "app/client/models/DataTableModel" {
constructor(docModel: DocModel, tableData: TableData, tableMetaRow: TableRec);
public createLazyRowsModel(sortedRowSet: SortedRowSet, optRowModelClass: any):
DataTableModel.LazyArrayModel<BaseRowModel>;
public createFloatingRowModel(optRowModelClass: any): BaseRowModel;
public createFloatingRowModel(optRowModelClass?: any): BaseRowModel;
}
export = DataTableModel;
}