generated from chiffre-io/template-library
-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Context
What's your version of nuqs
?
"nuqs": "^2.5.2"
What framework are you using?
- ✅ Next.js (pages router)
Which version of your framework are you using?
next: 14.2.32
eslint-config-next: 14.2.32
react: 18.3.1
react-dom: 18.3.1
typescript: 4.9.4
Description
When I try to do npm run build
, I get this error:
./node_modules/nuqs/dist/index.d.ts:178:39
Type error: Type parameter declaration expected.
176 | * @param validValues The values you want to accept
177 | */
> 178 | declare function parseAsStringLiteral<const Literal extends string>(validValues: readonly Literal[]): ParserBuilder<Literal>;
| ^
179 | /**
180 | * Number-based literals provide better type-safety for known sets of values.
181 | * You will need to pass the parseAsNumberLiteral function a list of your number values
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working