Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

esDoc can't parse PropTypes.oneOfType... #22

Open
SimonCheung1989 opened this issue May 23, 2017 · 0 comments
Open

esDoc can't parse PropTypes.oneOfType... #22

SimonCheung1989 opened this issue May 23, 2017 · 0 comments

Comments

@SimonCheung1989
Copy link

Hi, when you use esDoc to generate your document, did you met this issue?

warning: could not parse the following code. if you want to use ECMAScript proposals, see https://esdoc.org/manual/usage/featu
re.html#ecmascript-proposal
C:\Users\Simon\workspace_VSC\group-digital-wealth-common\src\web\components\widgets\tooltip\Tooltip.js
6|
7| class Tooltip extends Component {
8|
9|     tooltip: any;
10|
11|     static propTypes: Object = {
12|         autoHideAfterTimeout: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant