mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Migrate core/interfaces/i_registrable_field.js named requires
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
goog.module('Blockly.IRegistrableField');
|
||||
goog.module.declareLegacyNamespace();
|
||||
|
||||
goog.requireType('Blockly.Field');
|
||||
const Field = goog.requireType('Blockly.Field');
|
||||
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ goog.requireType('Blockly.Field');
|
||||
let IRegistrableField;
|
||||
|
||||
/**
|
||||
* @typedef {function(!Object): Blockly.Field}
|
||||
* @typedef {function(!Object): Field}
|
||||
*/
|
||||
IRegistrableField.fromJson;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user