mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Migrating commands to typescript
Summary: Migrating commands and commandList to typescript Test Plan: Existing Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3871
This commit is contained in:
19
app/client/declarations.d.ts
vendored
19
app/client/declarations.d.ts
vendored
@@ -4,7 +4,6 @@ declare module "app/client/components/CodeEditorPanel";
|
||||
declare module "app/client/components/DetailView";
|
||||
declare module "app/client/components/DocConfigTab";
|
||||
declare module "app/client/components/GridView";
|
||||
declare module "app/client/components/commandList";
|
||||
declare module "app/client/lib/Mousetrap";
|
||||
declare module "app/client/lib/browserGlobals";
|
||||
declare module "app/client/lib/dom";
|
||||
@@ -108,24 +107,6 @@ declare module "app/client/components/ViewConfigTab" {
|
||||
export = ViewConfigTab;
|
||||
}
|
||||
|
||||
declare module "app/client/components/commands" {
|
||||
export class Command {
|
||||
public name: string;
|
||||
public deprecated: boolean;
|
||||
public desc: string;
|
||||
public humanKeys: string[];
|
||||
public keys: string[];
|
||||
public getDesc(): string;
|
||||
public getKeysDesc(): string;
|
||||
public run(): any;
|
||||
}
|
||||
|
||||
export type CommandsGroup = any;
|
||||
export const init: any;
|
||||
export const allCommands: any;
|
||||
export const createGroup: any;
|
||||
}
|
||||
|
||||
declare module "app/client/models/BaseRowModel" {
|
||||
import {Disposable} from 'app/client/lib/dispose';
|
||||
import TableModel from 'app/client/models/TableModel';
|
||||
|
||||
Reference in New Issue
Block a user