chore: fix v11 branch build (#7836)

* chore: fix render management lint

* fix: build
This commit is contained in:
Beka Westberg
2024-02-07 17:30:44 +00:00
committed by GitHub
parent b2b12f42fd
commit abe4cf98f2
4 changed files with 6 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ const rootBlocks = new Set<BlockSvg>();
const dirtyBlocks = new WeakSet<BlockSvg>();
/** A map from queued blocks to the event group from when they were queued. */
let eventGroups = new WeakMap<BlockSvg, string>();
const eventGroups = new WeakMap<BlockSvg, string>();
/**
* The promise which resolves after the current set of renders is completed. Or

View File

@@ -208,8 +208,6 @@ const JSCOMP_ERROR = [
'conformanceViolations',
'const',
'constantProperty',
'deprecated',
'deprecatedAnnotations',
'duplicateMessage',
'es5Strict',
'externsValidation',
@@ -256,6 +254,8 @@ const JSCOMP_ERROR = [
* it's generally sufficient to remove them from JSCOMP_ERROR.
*/
const JSCOMP_WARNING = [
'deprecated',
'deprecatedAnnotations',
];
/**

View File

@@ -74,6 +74,8 @@ suite('Render Management', function () {
isDisposed: () => false,
getRelativeToSurfaceXY: () => ({x: 0, y: 0}),
updateComponentLocations: () => {},
bumpNeighbours: () => {},
initialized: true,
workspace: ws || createMockWorkspace(),
};
}

View File

@@ -28,4 +28,4 @@ testGenerator.forBlock['test_block'] = function (
return ['a fake code string', Order.ADDITION];
};
phpGenerator.quote_();
phpGenerator.quote_('a string');