fix: add missing index arg in navigationHistory.canGoToOffset (#44989)

fix: add missing arg
This commit is contained in:
Alice Zhao
2024-12-12 07:56:27 -08:00
committed by GitHub
parent 6961e9458a
commit a5b4339884
2 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ declare namespace Electron {
_historyLength(): number;
_canGoBack(): boolean;
_canGoForward(): boolean;
_canGoToOffset(): boolean;
_canGoToOffset(index: number): boolean;
_goBack(): void;
_goForward(): void;
_goToOffset(index: number): void;