In my previous article, we looked at how we can integrate Mongoose and TypeScript to create strongly typed models manually. In this article, you will learn how to create Mongoose models & TypeScript types simultaneously with Typegoose.

See final repository: https://github.com/tomanagle/Typegoose-example

What’s the problem?

Often, the data shapes used throughout…

Tom Nagle

I am a full stack JavaScript developer, living in Melbourne, Australia. My preferred stack is Mongoose, TypeScript, Node.js, React & GraphQL.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store