FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: fix property name 'detail' of performanceEntry by ChristianBoehlke · Pull Request #40019 · nodejs/node · GitHub

/ node Public

doc: fix property name 'detail' of performanceEntry - #40019

Closed
ChristianBoehlke wants to merge 1 commit into
nodejs:masterfrom
ChristianBoehlke:perf-hooks-details
Closed

doc: fix property name 'detail' of performanceEntry#40019
ChristianBoehlke wants to merge 1 commit into
nodejs:masterfrom
ChristianBoehlke:perf-hooks-details

Conversation

Copy link
Copy Markdown
Contributor

Hello,

I noticed that the performanceEntry that is passed to the callback of PerformanceObserver does not have a property details but it does have a property detail (without the "s"). This is also in line with the deprecation warning and what I could find in the source code:

get detail() { return this[kDetail]; }

detail: this.detail,

'Please use the detail property.';

In case this is correct: I have changed the documentation accordingly. Please let me know if I can do anything else.

Thank you!

nodejs-github-bot added doc Issues and PRs related to the documentations. perf_hooks Issues and PRs related to the implementation of the Performance Timing API. labels Sep 6, 2021
targos added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Sep 6, 2021

tniessen left a comment

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you for the contribution, @ChristianBoehlke!

targos added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 8, 2021
github-actions Bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 8, 2021

github-actions Bot commented Sep 8, 2021

Copy link
Copy Markdown
Contributor

Landed in 9f7412a...6e9a54c

github-actions Bot closed this Sep 8, 2021
nodejs-github-bot pushed a commit that referenced this pull request Sep 8, 2021
PR-URL: #40019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
ChristianBoehlke deleted the perf-hooks-details branch September 8, 2021 23:38
cafca added a commit to cafca/DefinitelyTyped that referenced this pull request Sep 12, 2021
This spelling mistake in a property name has been fixed in node.js per nodejs/node#40019
typescript-bot pushed a commit to DefinitelyTyped/DefinitelyTyped that referenced this pull request Sep 19, 2021
…cafca

* Fix property 'detail' of PerformanceEntry

This spelling mistake in a property name has been fixed in node.js per nodejs/node#40019

* Add missing comma

* Fix 'detail' property name in perf_hooks test
BethGriggs pushed a commit that referenced this pull request Sep 21, 2021
PR-URL: #40019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
BethGriggs mentioned this pull request Sep 21, 2021
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. doc Issues and PRs related to the documentations. perf_hooks Issues and PRs related to the implementation of the Performance Timing API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL