Skip to content

Commit

Permalink
fix(cli): mobx 模板无法通过 TypeScript 类型检测
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Dec 24, 2018
1 parent 942c58b commit 3873d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-cli/templates/mobx/pagejs
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ class Index extends Component {
}
}

export default Index
export default Index <%if (locals.typescript) {%> as ComponentType<%}%>

0 comments on commit 3873d73

Please sign in to comment.