Skip to content

Commit

Permalink
Proper typing for strategy field #261
Browse files Browse the repository at this point in the history
  • Loading branch information
Krasimir Tsonev committed Jan 12, 2021
1 parent a8ad331 commit 1faa549
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 8.4.2

Fixing a problem with TypeScript compilation - [#261](https://github.com/krasimir/navigo/issues/261).

## 8.4.1

Fixing a bug with `updateBrowserURL` middleware.
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type NavigateOptions = {
resolveOptions?: ResolveOptions;
};
export type ResolveOptions = {
strategy?: ONE | ALL;
strategy?: "ONE" | "ALL";
hash?: boolean;
noMatchWarning?: boolean;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "navigo",
"version": "8.4.1",
"version": "8.4.2",
"description": "A simple vanilla JavaScript router",
"main": "lib/navigo.js",
"browser": "lib/navigo.min.js",
Expand Down

0 comments on commit 1faa549

Please sign in to comment.