react-router
Version:
Declarative routing for React
13 lines (12 loc) • 458 B
TypeScript
//#region lib/server-runtime/data.d.ts
/**
* An object of unknown type for route loaders and actions provided by the
* server's `getLoadContext()` function. This is defined as an empty interface
* specifically so apps can leverage declaration merging to augment this type
* globally: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
*/
interface AppLoadContext {
[key: string]: unknown;
}
//#endregion
export { AppLoadContext };