This PR just changes the TypeScript typings for ResourceStoreContext to be an empty interface instead of an any typed type, so that consumers of the library can do a module declaration to extend the ResourceStoreContext to type their own code.
Example:
import 'react-resource-router';
import type { MyResourceContext } from './my-resource-context';
declare module 'react-resource-router' {
export interface ResourceStoreContext extends MyResourceContext {}
}
This PR just changes the TypeScript typings for
ResourceStoreContext
to be an emptyinterface
instead of anany
typedtype
, so that consumers of the library can do a module declaration to extend theResourceStoreContext
to type their own code.Example:
Closes #141