From 76dbf004ad00c4e1cdcc542c28c4269a8ec1f628 Mon Sep 17 00:00:00 2001 From: Craig Beck Date: Wed, 24 Apr 2024 12:13:18 -0700 Subject: [PATCH] More complete typing of history methods --- src/App.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.ts b/src/App.ts index 00a540fd..195baee0 100644 --- a/src/App.ts +++ b/src/App.ts @@ -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) {