Skip to content

Commit

Permalink
fix: Component Render 返回类型 (#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
ACERY1 committed Jan 13, 2022
1 parent 79621d1 commit 2263c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/f2/src/base/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Component<T = any> {
willReceiveProps(_props: T) {}
willUpdate() {}
didUpdate() {}
render() {
render(): JSX.Element | null {
return null;
}
didUnmount() {}
Expand Down

0 comments on commit 2263c89

Please sign in to comment.