Skip to content

Commit

Permalink
style(index): update tsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Jun 1, 2022
1 parent c10271b commit 3f3723a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { logger } from './logSettings';
import type { BeAnObject, IIndexArray, IndexOptions } from './types';

/**
* Defines an index (most likely compound) for this schema.
* @param fields Which fields to give the Options
* Defines a index for this Class which will then be added to the Schema.
* @param fields Which fields to index (if multiple fields are set, it will be a compound index)
* @param options Options to pass to MongoDB driver's createIndex() function
* @example Example:
* ```ts
Expand Down

0 comments on commit 3f3723a

Please sign in to comment.