Skip to content

Commit b5aa291

Browse files
committed
add comment
1 parent 495af91 commit b5aa291

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/kit/types/internal.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ export interface ShadowEndpointOutput<Output extends JSONObject = JSONObject> {
177177
body?: Output;
178178
}
179179

180+
/**
181+
* The route key of a page with a matching endpoint — used to ensure the
182+
* client loads data from the right endpoint during client-side navigation
183+
* rather than a different route that happens to match the path
184+
*/
180185
type ShadowKey = string;
181186

182187
export interface ShadowRequestHandler<Output extends JSONObject = JSONObject> {

0 commit comments

Comments
 (0)