Skip to content

Commit

Permalink
Update index.d.ts (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
KonnorRogers authored May 1, 2023
1 parent 0401c31 commit 9028846
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import * as preact from 'preact';
export function route(url: string, replace?: boolean): boolean;
export function route(options: { url: string; replace?: boolean }): boolean;

export function exec(url: string, route: string, opts: { default?: boolean }): boolean;

export function getCurrentUrl(): string;

export interface Location {
Expand Down

0 comments on commit 9028846

Please sign in to comment.