Skip to content

Commit

Permalink
More complete typing of history methods
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed Apr 24, 2024
1 parent 40a1509 commit 76dbf00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ export abstract class App extends EventEmitter {
export class AppForClient extends App {
page: PageForClient;
history: {
refresh(): void,
push(url: string): void,
replace(url: string): void,
push: (url: string, render?: boolean, state?: object, e?: any) => void,
replace: (url: string, render?: boolean, state?: object, e?: any) => void,
refresh: () => void,
};

constructor(derby, name, filename, options: AppOptions) {
Expand Down

0 comments on commit 76dbf00

Please sign in to comment.