12 lines
419 B
TypeScript
12 lines
419 B
TypeScript
/**
|
|
* 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;
|
|
}
|
|
|
|
export type { AppLoadContext as A };
|