Skip to content

LoaderOptions<T> is deprecated in favor of CreateLoaderOptions<T>, but the latter is not exported #1274

@guisehn

Description

@guisehn

Context

What's your version of nuqs?

2.8.3

What framework are you using?

Next.js (pages router)

Which version of your framework are you using?

15.5.9

Description

LoaderOptions is deprecated in favor of CreateLoaderOptions, however, the latter is no exported. Example:

import {
  LoaderOptions, // <- @deprecated — Use `CreateLoaderOptions` instead.
  CreateLoaderOptions, // <- '"nuqs"' has no exported member named 'CreateLoaderOptions'. Did you mean 'LoaderOptions'?
} from 'nuqs';

Reproduction

https://github.com/guisehn/nuqs-mre

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions