Skip to content

Commit

Permalink
fix(okidoc-md): fix issue ts vs flow issue for optional class property
Browse files Browse the repository at this point in the history
  • Loading branch information
bodia-uz committed May 30, 2018
1 parent 1ec0582 commit 374c61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/okidoc-md/src/utils/nodeAST.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function cleanUpClassProperty(
// https://github.com/babel/babel/blob/v7.0.0-beta.44/packages/babel-plugin-transform-typescript/src/index.js#L155-L168
node.accessibility = null;
node.decorators = [];
item.optional = false;
node.optional = false;

cleanUpNodeJSDoc(node, JSDocCommentValue);
}
Expand Down

0 comments on commit 374c61d

Please sign in to comment.