mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 19:45:26 +00:00
prevent client-side navigation to server routes - fixes #145
This commit is contained in:
@@ -14,7 +14,8 @@ export interface Component {
|
||||
export type Route = {
|
||||
pattern: RegExp;
|
||||
params: (match: RegExpExecArray) => Record<string, string>;
|
||||
load: () => Promise<{ default: ComponentConstructor }>
|
||||
load: () => Promise<{ default: ComponentConstructor }>;
|
||||
ignore?: boolean;
|
||||
};
|
||||
|
||||
export type ScrollPosition = {
|
||||
|
||||
Reference in New Issue
Block a user