Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Nov 10, 2017

Fixes #19921
The only reason it happened to work for C.prototype.f = function() {} before was that we added an entry for any function expression that had a name. This would make it work for values too, and would also work for exports.x = 0;.

@ghost ghost requested a review from armanio123 November 10, 2017 22:06
@ghost ghost merged commit 9992395 into master Nov 17, 2017
@ghost ghost deleted the navigationBarFunctionPrototype branch November 17, 2017 00:51
errendir added a commit to errendir/TypeScript that referenced this pull request Nov 20, 2017
* origin/master: (140 commits)
  test overriding Session.event
  Update editorServices.ts
  Fix semantic merge conflict (microsoft#20119)
  LEGO: check in for master to temporary branch.
  Moved minified file exclusion
  Fixed internal safelist
  For import completion, if multiple re-exports exist, choose the one with the shortest path (microsoft#20049)
  Bundle fileName with CodeActionCommand (microsoft#19881)
  Simplify documentHighlights (microsoft#20091)
  LEGO: check in for master to temporary branch.
  Support semantic classification of alias (microsoft#20012)
  In `getContextualTypeForBinaryOperand`, only need to look for `=` assignment operator, not e.g. `+=` (microsoft#20037)
  lineAction: Use an enum instead of true | false | undefined (microsoft#20086)
  LEGO: check in for master to temporary branch.
  cleanup NodeTypingsInstaller
  remove comments
  type `event` callback correctly
  update baselines
  defer callback and remove handler object
  Support arbitrary prototype property assignments in navigation bar (microsoft#19923)
  ...
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
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.

1 participant