(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

@@ -120,7 +120,7 @@ export class DataTableModelWithDiff extends DisposableWithEvents implements Data
return this._wrappedModel.createLazyRowsModel(sortedRowSet, optRowModelClass);
}
public createFloatingRowModel(optRowModelClass: any): BaseRowModel {
public createFloatingRowModel(optRowModelClass?: any): BaseRowModel {
return this._wrappedModel.createFloatingRowModel(optRowModelClass);
}