Match-id-c7b7cf761030b63184686c2e8a649010f222235e
This commit is contained in:
parent
a59ffea5bc
commit
f0ffc90fcf
|
@ -4,11 +4,18 @@
|
|||
class Component<P,S,C> {
|
||||
props: P;
|
||||
context: C;
|
||||
state: S;
|
||||
state: S | null;
|
||||
refs: any;
|
||||
setState: any;
|
||||
forceUpdate: any;
|
||||
|
||||
constructor(props: P, context: C) {
|
||||
this.props = props;
|
||||
this.context = context;
|
||||
this.state = null;
|
||||
this.refs = null;
|
||||
this.setState = null;
|
||||
this.forceUpdate = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue