mongoose-tsgen
Advanced tools
Changelog
8.2.0 / 2021-05-19
mongoose.Query.populate
overload to narrow query typings & --no-populate-overload
flag to disable the behaviourPopulatedDocument
, IsPopulated
Changelog
8.1.0 / 2021-05-17
--no-mongoose
flag to generate types without mongoose references. This option removes document types and replaces ObjectId with string #7Changelog
8.0.0 / 2021-04-29
--js
(generator depends too much on TS compiler libraries now, so using this with JS has very limited functionality. Convert type files to TS before using mongoose-tsgen moving forward)--augment
(added much unnecessary complexity, functionality can be achieved using a simple user-created file)--no-func-types
(this was mainly used to avoid using TS compiler API when running the generator. These days the generator depends on the TS compiler API for all basic functions so this option has no use)--debug
flag to print useful debug info