Skip to content

Commit 94da8f4

Browse files
committed
fix(types): 🔤 correct URLInfo type import casing in createLocationStore
1 parent 799987f commit 94da8f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/toolkit-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"size-limit": [
7272
{
7373
"path": "./src/index.ts",
74-
"limit": "3.5 kb"
74+
"limit": "3.6 kb"
7575
}
7676
]
7777
}

packages/toolkit-core/src/createLocationStore/createLocationStore.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { isBrowser } from "../constants";
22
import type { EqualityFn, StoreApi } from "../createStore";
3-
import { type UrlInfo, pushState, replaceState } from "../navigation";
3+
import { type URLInfo, pushState, replaceState } from "../navigation";
44
import { on } from "../on";
55

6-
export type LocationInfo = Omit<UrlInfo, "search"> & { search: URLSearchParams };
6+
export type LocationInfo = Omit<URLInfo, "search"> & { search: URLSearchParams };
77

88
export type LocationStoreOptions = {
99
equalityFn?: EqualityFn<LocationInfo>;

0 commit comments

Comments
 (0)