We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5eb90 commit 0636668Copy full SHA for 0636668
1 file changed
src/index.ts
@@ -8,6 +8,11 @@ import * as Blockly from 'blockly/core';
8
import {NavigationController} from './navigation_controller';
9
import {enableBlocksOnDrag} from './disabled_blocks';
10
11
+Blockly.Field.prototype.getClass = function () {
12
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13
+ return this.constructor as any;
14
+};
15
+
16
/** Options object for KeyboardNavigation instances. */
17
export interface NavigationOptions {
18
cursor: Partial<Blockly.CursorOptions>;
0 commit comments