How to extend 'handle' property without issues #5460
Unanswered
winterdominik
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm also looking for a solution, it seems like it's not possible because If it were, then we could do something simple like import "@remix-run/server-runtime";
declare module "@remix-run/server-runtime" {
type RouteHandle = {
[key:string]: any,
label?: string
};
} based off of the example from https://sergiodxa.com/tutorials/customize-remix-app-load-context-type for reference: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to extend the interface (handle property) found in the docu an run into the following issue:
Has some one encounter a similiar problem or found a workaround?
Beta Was this translation helpful? Give feedback.
All reactions