ghter * without having to know where the highlighter exists. */ module.exports = { /** * Toggle the flexbox highlighter for the given node front. * * @param {NodeFront} nodeFront * Node for which the highlighter should be toggled. * @param {string} reason * Reason why the highlighter was toggled; used in telemetry. */ toggleFlexboxHighlighter(nodeFront, reason) { return async thunkOptions => { const { inspector } = thunkOptions; if (!inspector || inspector._destroyed) { return; } await inspector.highlighters.toggleFlexboxHighlighter(nodeFront, reason); }; }, }; PK