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

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

Description

@SimonCheung1989

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]),

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions