From 8b6d3e972808f27616f61b5a5b8730667942069e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Best?= Date: Thu, 9 Jan 2025 10:44:39 +0100 Subject: [PATCH] fix: Export UrlKeys type helper (#854) --- packages/nuqs/src/index.server.ts | 8 +++++++- packages/nuqs/src/index.ts | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/nuqs/src/index.server.ts b/packages/nuqs/src/index.server.ts index f94d7bbc..66bdf5c0 100644 --- a/packages/nuqs/src/index.server.ts +++ b/packages/nuqs/src/index.server.ts @@ -1,5 +1,11 @@ export { createSearchParamsCache } from './cache' -export type { HistoryOptions, Nullable, Options, SearchParams } from './defs' +export type { + HistoryOptions, + Nullable, + Options, + SearchParams, + UrlKeys +} from './defs' export { createLoader, type LoaderFunction, diff --git a/packages/nuqs/src/index.ts b/packages/nuqs/src/index.ts index cf144973..d1ada984 100644 --- a/packages/nuqs/src/index.ts +++ b/packages/nuqs/src/index.ts @@ -1,4 +1,10 @@ -export type { HistoryOptions, Nullable, Options, SearchParams } from './defs' +export type { + HistoryOptions, + Nullable, + Options, + SearchParams, + UrlKeys +} from './defs' export { createLoader, type LoaderFunction,