We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instead of this disaster:
type KCDLoader = ( args: Omit<Parameters<Loader>['0'], 'context'> & {context: LoaderContext}, ) => ReturnType<Loader> type KCDAction = ( args: Omit<Parameters<Action>['0'], 'context'> & {context: LoaderContext}, ) => ReturnType<Action>
People can do this:
export let loader: LoaderFunction<KCDLoaderContext> = ({ context }) => { }
The text was updated successfully, but these errors were encountered:
Might it be worthwhile to also make MetaFunction and LinksFunction generic with respect to the args.data property?
MetaFunction
LinksFunction
args.data
Sorry, something went wrong.
This can now be closed
No branches or pull requests
Instead of this disaster:
People can do this:
The text was updated successfully, but these errors were encountered: