UNPKG

418 BTypeScriptView Raw
1
2//#region lib/types/serializes-to.d.ts
3/**
4 * A brand that can be applied to a type to indicate that it will serialize
5 * to a specific type when transported to the client from a loader.
6 * Only use this if you have additional serialization/deserialization logic
7 * in your application.
8 */
9type unstable_SerializesTo<T> = {
10 unstable__ReactRouter_SerializesTo: [T];
11};
12//#endregion
13export { unstable_SerializesTo };
\No newline at end of file