Skip to content

Commit aa93175

Browse files
committed
fix(FieldColour): Fix type of FieldColour.prototype.isFullBlockField
Method on superclass became public in v12.0.0.
1 parent 8081ce5 commit aa93175

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/field-colour/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"typescript": "^5.4.5"
4949
},
5050
"peerDependencies": {
51-
"blockly": "^11.0.0"
51+
"blockly": "^12.0.0"
5252
},
5353
"publishConfig": {
5454
"access": "public",

plugins/field-colour/src/field_colour.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export class FieldColour extends Blockly.Field<string> {
209209
*
210210
* @returns True if this field should take up the full block. False otherwise.
211211
*/
212-
protected isFullBlockField(): boolean {
212+
override isFullBlockField(): boolean {
213213
const block = this.getSourceBlock();
214214
if (!block) throw new Blockly.UnattachedFieldError();
215215

0 commit comments

Comments
 (0)