(schema: Schema<Test, any, TestInstanceMethods>)
| 16 | } |
| 17 | |
| 18 | function pluginMethods(schema: Schema<Test, any, TestInstanceMethods>): void { |
| 19 | schema.methods.doSomething = function() { |
| 20 | return 'test'; |
| 21 | }; |
| 22 | } |
| 23 | |
| 24 | function pluginStatics(schema: Schema<Test, TestModel, any, TestQueryHelpers, any, TestStaticMethods>): void { |
| 25 | schema.statics.findSomething = function() { |
nothing calls this directly
no outgoing calls
no test coverage detected