Skip to content

Commit

Permalink
fix: Declare Router type as interface (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
taion committed Apr 12, 2019
1 parent 8b28181 commit 4bb9a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ declare module 'found' {
location: Location,
) => undefined | (boolean | string | Promise<boolean | string>);

class Router {
interface Router {
/**
* Navigates to a new location
* @see farce
Expand Down

0 comments on commit 4bb9a46

Please sign in to comment.