message: Fix plugins generic type
  plugin(src): replace "extends any" with "= any"
  This is a squash merge of typegoose/typegoose#202
diff: @@ -7,7 +7,7 @@ import { Func } from './types';
  * @param mongoosePlugin The Plugin to plug-in
  * @param options Options for the Plugin, if any
  */
  -export function plugin<T extends any[] | any>(mongoosePlugin: Func, options?: T) {
  +export function plugin<T = any>(mongoosePlugin: Func, options?: T) {
  // dont check if options is an object, because any plugin could make it anything
  return (target: any) => {
  const name: string = getName(target);
  