Skip to content

Commit

Permalink
document a and b
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Apr 12, 2021
1 parent 4693c97 commit d2a899f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/kit/types.internal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ export type SSRPage = {
type: 'page';
pattern: RegExp;
params: GetParams;
// plan a is to render 1 or more layout components followed

This comment has been minimized.

Copy link
@benmccann

benmccann Apr 12, 2021

Member

I wonder if this needs to be a /** ... */ style comment to show up in VS Code where this variable is referenced?

// by a leaf component. if one of them fails in `load`, we
// backtrack until we find the nearest error component —
// plan b — and render that instead
a: PageId[];
b: PageId[];
};
Expand Down

0 comments on commit d2a899f

Please sign in to comment.