From 1ff7302d0f83c17553de05efd05ebd8234f95966 Mon Sep 17 00:00:00 2001 From: Mykola Radchenko Date: Tue, 19 Dec 2017 20:43:41 -0800 Subject: [PATCH] mongoose: Fix typo for static methods --- types/mongoose/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mongoose/README.md b/types/mongoose/README.md index ad12702574..0ba91612e2 100644 --- a/types/mongoose/README.md +++ b/types/mongoose/README.md @@ -145,7 +145,7 @@ interface IUserModel extends Model { static1: () => string; } -var UserModel: IUserModel = model('User', UserSchema); +var UserModel: IUserModel = model('User', UserSchema); UserModel.static1(); // static methods are available ``` [top](#mongoosejs-typescript-docs)