Skip to content

🤖 User test baselines have changed#29403

Closed
typescript-bot wants to merge 1 commit intomicrosoft:masterfrom
typescript-bot:user-update-20190001
Closed

🤖 User test baselines have changed#29403
typescript-bot wants to merge 1 commit intomicrosoft:masterfrom
typescript-bot:user-update-20190001

Conversation

@typescript-bot
Copy link
Copy Markdown
Collaborator

Please review the diff and merge if no changes are unexpected.
You can view the build log here.

cc @weswigham @sandersn @RyanCavanaugh

@sandersn
Copy link
Copy Markdown
Member

Haven't had time to review this yet; it's our change because chrome-devtools-frontend is locked.

node_modules/chrome-devtools-frontend/front_end/ui/ContextMenu.js(340,39): error TS2339: Property 'y' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/ui/ContextMenu.js(344,24): error TS2339: Property 'deepElementFromPoint' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/ui/ContextMenu.js(352,24): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/ui/ContextMenu.js(355,22): error TS2339: Property '_useSoftMenu' does not exist on type 'typeof ContextMenu'.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Associated code is

  static initialize() {
    InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.SetUseSoftMenu, setUseSoftMenu);
    /**
     * @param {!Common.Event} event
     */
    function setUseSoftMenu(event) {
      UI.ContextMenu._useSoftMenu = /** @type {boolean} */ (event.data); // this line
    }
  }

Looks like we're no longer recognizing namespace assignments within functions?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only suspicious PR is your change to type resolution in
#29335. I’ll see if reverting that fixes this.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, it's #29335. @weswigham I'll create a bug and assign it to you although I don't have time to create a standalone repro.

@sandersn
Copy link
Copy Markdown
Member

Let's close these for now because (1) there aren't a lot of other changes (2) the fix might be easy.

@sandersn sandersn closed this Jan 15, 2019
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants