我在Node.js应用程序中使用Mongoose,我想使用模型的继承。我遵循这里给出的说明,和其他链接,但我不知道如何继承静力学方法。Here I try to expose the removeAll statics methods for all sub-schema !!!BaseSchema.prototype.removeAll = function() { ... }// The inherited class
var AccountSchema= new BaseSchema('
TypeError: message.clearReactions is not a function const { Command } = require('discord.js-commando');
module.exports = class TestCommand extends Command