Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
updated types to match pr adding types
Browse files Browse the repository at this point in the history
  • Loading branch information
ehrencrona committed Sep 22, 2020
1 parent 2579e4e commit 3ad205a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/src/app/types.ts
Expand Up @@ -8,9 +8,10 @@ export interface HydratedTarget {
}

export type Branch = Array<{
Component: DOMComponentConstructor;
preload: (page) => Promise<any>;
segment: string;
segment: string;
match?: RegExpExecArray;
component?: DOMComponentConstructor;
part?: number;
}>;

export interface ScrollPosition {
Expand Down Expand Up @@ -43,5 +44,4 @@ export interface Page {
export interface PageContext extends Page {
/** `error` is only set when the error page is being rendered. */
error?: Error;
status: number;
}

0 comments on commit 3ad205a

Please sign in to comment.