mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Convert CopySelection and tableUtil to typescript
Summary: - This should make these easier to work with and make changes to. - Removes one unused method. Test Plan: No changes of behavior, existing tests should pass. Reviewers: alexmojaki Reviewed By: alexmojaki Differential Revision: https://phab.getgrist.com/D3091
This commit is contained in:
9
app/client/declarations.d.ts
vendored
9
app/client/declarations.d.ts
vendored
@@ -145,15 +145,6 @@ declare module "app/client/components/commands" {
|
||||
export const createGroup: any;
|
||||
}
|
||||
|
||||
declare module "app/client/lib/tableUtil" {
|
||||
|
||||
import {KoArray} from 'app/client/lib/koArray';
|
||||
import {ViewFieldRec} from 'app/client/models/DocModel';
|
||||
|
||||
function insertPositions(lowerPos: number|null, upperPos: number|null, numInserts: number): number[];
|
||||
function fieldInsertPositions(viewFields: KoArray<ViewFieldRec>, index: number, numInserts: number): number[];
|
||||
}
|
||||
|
||||
declare module "app/client/models/BaseRowModel" {
|
||||
import {Disposable} from 'app/client/lib/dispose';
|
||||
import * as TableModel from 'app/client/models/TableModel';
|
||||
|
||||
Reference in New Issue
Block a user