nuqs
Version:
Type-safe search params state manager for React - Like useState, but stored in the URL query string
8 lines (6 loc) • 402 B
TypeScript
// This file is needed for projects that have `moduleResolution` set to `node`
// in their tsconfig.json to be able to `import {} from 'nuqs/adpaters/next/pages'`.
// 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.
export * from '../../dist/adapters/next/pages'