Skip to content

Commit 3f4bcbc

Browse files
authored
Merge pull request #15319 from baruchiro/docs/ms
docs: update references to the `ms` module in date schema documentation
2 parents 3e0c645 + ed7bf40 commit 3f4bcbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/schema/date.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ SchemaDate._defaultCaster = v => {
150150
* // expire in 24 hours
151151
* new Schema({ createdAt: { type: Date, expires: 60*60*24 }});
152152
*
153-
* `expires` utilizes the `ms` module from [guille](https://github.com/guille/) allowing us to use a friendlier syntax:
153+
* `expires` utilizes the `ms` module from [vercel](https://github.com/vercel/ms) allowing us to use a friendlier syntax:
154154
*
155155
* #### Example:
156156
*

types/indexes.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ declare module 'mongoose' {
6868

6969
type IndexOptions = Omit<mongodb.CreateIndexesOptions, 'expires' | 'weights' | 'unique'> & {
7070
/**
71-
* `expires` utilizes the `ms` module from [guille](https://github.com/guille/) allowing us to use a friendlier syntax:
71+
* `expires` utilizes the `ms` module from [vercel](https://github.com/vercel/ms) allowing us to use a friendlier syntax:
7272
*
7373
* @example
7474
* ```js

0 commit comments

Comments
 (0)