add generic

This commit is contained in:
Vut Pov 2020-07-15 08:58:13 +07:00
parent 64ab6e4247
commit 692dc2a15a

View File

@ -11,7 +11,7 @@ const BaseContext = React.createContext({})
* @constructor * @constructor
* *
*/ */
class BaseContextProvider extends React.Component { class BaseContextProvider<PROPS, STATE> extends React.Component<PROPS, STATE> {
getContextReturnValue() { getContextReturnValue() {
return {} return {}
} }