UNPKG

nuqs

Version:

Type-safe search params state manager for React - Like useState, but stored in the URL query string

11 lines (9 loc) 561 B
// This file is needed for projects that have `moduleResolution` set to `node` // in their tsconfig.json to be able to `import {} from 'nuqs/adapters/react-router'`. // Other module resolutions strategies will look for the `exports` in `package.json`, // but with `node`, TypeScript will look for a .d.ts file with that name at the // root of the package. // // Note: this default react-router adapter is for react-router v6. // If you are using react-router v7, please import from `nuqs/adapters/react-router/v7` export * from '../dist/adapters/react-router'