next.js
51528424 - Remove this as any cases (#54642)

Commit
2 years ago
Remove this as any cases (#54642) Noticed there were two cases in `next-server.ts` that leverage `this as any` to call functions defined only in next-dev-server. This change ensures the types are correct, which is useful for refactoring, e.g. renaming the function in `next-dev-server` would cause the original code to break unexpectedly.
Author
Parents
Loading