From ee28ce2e1378d8c7031682f06a39525805ce8840 Mon Sep 17 00:00:00 2001 From: Roberts Slisans Date: Thu, 29 Jun 2017 12:35:10 +0300 Subject: [PATCH] Fix tslint errors --- types/mongoose-simple-random/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/types/mongoose-simple-random/index.d.ts b/types/mongoose-simple-random/index.d.ts index a57f366df2..4625f582d1 100644 --- a/types/mongoose-simple-random/index.d.ts +++ b/types/mongoose-simple-random/index.d.ts @@ -2,12 +2,11 @@ // Project: https://github.com/larryprice/mongoose-simple-random // Definitions by: My Self // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// declare module 'mongoose-simple-random' { import mongoose = require('mongoose'); - var _: (schema: mongoose.Schema) => void; - export = _; + function plugin(schema: mongoose.Schema): void; + export = plugin; } declare module "mongoose" {