aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 0299b1d90..47d3c313d 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -8,6 +8,7 @@ import * as globalCssVariables from "../views/globalCssVariables.scss";
import { DocumentManager } from "./DocumentManager";
import { LinkManager } from "./LinkManager";
import { SelectionManager } from "./SelectionManager";
+import { SchemaHeaderField } from "../../new_fields/SchemaHeaderField";
export type dropActionType = "alias" | "copy" | undefined;
export function SetupDrag(
@@ -290,10 +291,10 @@ export namespace DragManager {
// for column dragging in schema view
export class ColumnDragData {
- constructor(colKey: string) {
+ constructor(colKey: SchemaHeaderField) {
this.colKey = colKey;
}
- colKey: string;
+ colKey: SchemaHeaderField;
[id: string]: any;
}