return a promise from init - fixes #99

This commit is contained in:
Rich Harris
2018-01-20 19:49:41 -05:00
parent 4590aa313c
commit a09c33d6a5
4 changed files with 49 additions and 44 deletions

View File

@@ -20,4 +20,10 @@ export type Route = {
export type ScrollPosition = {
x: number;
y: number;
};
export type Target = {
url: URL;
route: Route;
data: RouteData;
};