From 27bfaba5ec012386fd1a8a2f2fbbe51f3ba0c7cd Mon Sep 17 00:00:00 2001 From: inetsoft-anton <36281523+inetsoft-anton@users.noreply.github.com> Date: Fri, 22 Nov 2019 10:26:38 -0500 Subject: [PATCH] Unrestrict cursor option typing There doesn't appear to be a restriction in the code that limits the cursor style to one of col-resize or row-resize. Change it to string to be more lenient, like gutterAlign. --- packages/splitjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/splitjs/index.d.ts b/packages/splitjs/index.d.ts index f76acf9cd..c5d227617 100644 --- a/packages/splitjs/index.d.ts +++ b/packages/splitjs/index.d.ts @@ -42,7 +42,7 @@ declare namespace Split { direction?: 'horizontal' | 'vertical'; // Cursor to display while dragging. - cursor?: 'col-resize' | 'row-resize'; + cursor?: string; // Callback on drag. onDrag?(): void;