mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
fix: improve types in FieldRegistry (#8062)
* fix: improve types in FieldRegistry * chore: tsdoc
This commit is contained in:
committed by
GitHub
parent
54eeb85d89
commit
28ac0c4473
@@ -315,7 +315,7 @@ export class FieldNumber extends FieldInput<number> {
|
||||
* @nocollapse
|
||||
* @internal
|
||||
*/
|
||||
static fromJson(options: FieldNumberFromJsonConfig): FieldNumber {
|
||||
static override fromJson(options: FieldNumberFromJsonConfig): FieldNumber {
|
||||
// `this` might be a subclass of FieldNumber if that class doesn't override
|
||||
// the static fromJson method.
|
||||
return new this(
|
||||
|
||||
Reference in New Issue
Block a user