Closed christianalfoni closed 3 years ago
extends
interface Config { state: typeof config.state actions: typeof config.actions }
will check it
If this happens, change to explicit typing. In next release the whole typing system will be reworked.
explicit typing
extends
was there to ensure you created the config correctly, but it is strictly not necessary. If TypeScript has started complaining about this, I believe you can just do:will check it