fix tests

This commit is contained in:
frogcjn
2016-06-28 12:56:56 +08:00
parent 17ce7262df
commit 60b5a415ab
+1 -1
View File
@@ -369,7 +369,7 @@ schema.path('name');
schema.path('name', Number);
schema.pathType('name');
schema.plugin(function() {});
schema.post('save', function(next: () => void, doc: IActor) {});
schema.post('save', function(doc: IActor) {});
schema.pre('save', function(next: () => void) {});
schema.requiredPaths();
schema.static('findByName', function(name: string, callback: () => void) {});