Fix params/searchParams types for Next.js app router

This commit is contained in:
Enguerrand Ozano
2026-02-28 19:37:34 +01:00
parent fc881e5178
commit cdb50e0414
4 changed files with 608 additions and 21 deletions

4
package-lock.json generated
View File

@@ -28,6 +28,7 @@
"eslint": "^9",
"eslint-config-next": "^15.5.12",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"typescript": "^5"
}
},
@@ -8319,6 +8320,7 @@
"resolved": "https://registry.npmjs.org/next/-/next-15.3.9.tgz",
"integrity": "sha512-bat50ogkh2esjfkbqmVocL5QunR9RGCSO2oQKFjKeDcEylIgw3JY6CMfGnzoVfXJ9SDLHI546sHmsk90D2ivwQ==",
"license": "MIT",
"peer": true,
"dependencies": {
"@next/env": "15.3.9",
"@swc/counter": "0.1.3",
@@ -9374,7 +9376,6 @@
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz",
"integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==",
"license": "MIT",
"peer": true,
"dependencies": {
"scheduler": "^0.27.0"
},
@@ -9692,7 +9693,6 @@
"resolved": "https://registry.npmjs.org/sass/-/sass-1.77.4.tgz",
"integrity": "sha512-vcF3Ckow6g939GMA4PeU7b2K/9FALXk2KF9J87txdHzXbUF9XRQRwSxcAs/fGaTnJeBFd7UoV22j3lzMLdM0Pw==",
"license": "MIT",
"peer": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
"immutable": "^4.0.0",