Skip to content

Commit

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

/**
* Add a Middleware-Plugin
* Add a mongoose Middleware-Plugin
* @param mongoosePlugin The Plugin to plug-in
* @param options Options for the Plugin, if any
* @example Example:
* ```ts
* @plugin(findOrCreate)
* @plugin(findOrCreate, { optionsHere: true })
* class ClassName {}
* ```
*/
Expand Down

0 comments on commit 1753514

Please sign in to comment.