Commit 7c9828b
fix Next.js SDK type error: default undefined rewrites to empty arrays
Next.js 14 types require definite Rewrite[] arrays in the rewrites
return type. The beforeFiles/afterFiles/fallback fields were
potentially undefined. Default to [] to satisfy the type checker.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 799a965 commit 7c9828b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
| 178 | + | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments