Skip to content

Commit

Permalink
fix(*): exclude onError
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Feb 13, 2019
1 parent f7885fa commit 35edade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/types/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const propsMap = {
webview: [ 'WebViewHTMLAttributes', 'HTMLWebViewElement' ]
};

const CONFLICT_PROP_NAMES = ['defaultValue', 'hidden', 'title', 'onChange', 'onClick', 'onSelect', 'onKeyDown', 'onMouseEnter', 'onMouseLeave'];
const CONFLICT_PROP_NAMES = ['defaultValue', 'hidden', 'title', 'onChange', 'onClick', 'onSelect', 'onKeyDown', 'onMouseEnter', 'onMouseLeave', 'onError'];
function getConflictPropNames(props) {
return Object.keys(props).filter(name => CONFLICT_PROP_NAMES.indexOf(name) > -1);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alifd/dts-generator",
"version": "1.0.2",
"version": "1.0.3",
"description": "A tool to generate *.d.ts by specified api schema.",
"keywords": [
"react",
Expand Down

0 comments on commit 35edade

Please sign in to comment.