Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TypeScript error in with-mongodb example (#50094)
- Resolves #50084 The context parameter in the getServerSideProps function lacked a type, which led to a compile-time error. To resolve this, the GetServerSidePropsContext type from next was used to properly type the context parameter. This ensures type safety and allows TypeScript to catch potential errors at compile time. Co-authored-by: Steven <[email protected]>
- Loading branch information