Skip to content

Commit

Permalink
Merge pull request #20434 from emberjs/fix-history-location-types
Browse files Browse the repository at this point in the history
[BUGFIX stable] Fix HistoryLocation preview types
  • Loading branch information
chriskrycho committed Apr 13, 2023
2 parents bcc19bb + fc39975 commit f905915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/preview/@ember/routing/history-location.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ declare module '@ember/routing/history-location' {
export default class HistoryLocation extends EmberObject implements Location {
getURL(): string;
setURL(url: string): void;
replaceURL?(url: string): void;
replaceURL(url: string): void;
onUpdateURL(callback: UpdateCallback): void;
formatURL(url: string): string;
initState?(): void;
initState(): void;
}
}

Expand Down

0 comments on commit f905915

Please sign in to comment.