-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsdoc: add PropTypes namespace for PropType validating methods #3175
Conversation
lib/api/prop-types.js
Outdated
const TagSchema = Schemas.Tag.newContext(); | ||
|
||
export const PropTypes = {}; | ||
|
||
/** | ||
* React Component propType validator for a single Tag | ||
* @name Tag | ||
* @summary React Component propType validator for a single Tag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should propType
be PropType
to match the @file
description above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes! fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In line 17 here it's still showing as propType
to me
Fixed again and updating master to 1.5.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
jsdoc: add PropTypes namespace for PropType validating methods
What this PR does
PropType
namespaceHow that renders