Skip to content

Commit e363adb

Browse files
authored
fix(gatsby): Add missing prev location TS property for RouteUpdateArgs (#29125)
For RouteUpdateArgs
1 parent 9dce586 commit e363adb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gatsby/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,7 @@ export interface PrefetchPathnameArgs extends BrowserPluginArgs {
14821482

14831483
export interface RouteUpdateArgs extends BrowserPluginArgs {
14841484
location: Location
1485+
prevLocation: Location | null;
14851486
}
14861487

14871488
export interface ReplaceComponentRendererArgs extends BrowserPluginArgs {

0 commit comments

Comments
 (0)