So fügen Sie Arten von Chance Mixin hinzu
const chance = new Chance() as Chance.Chance & ITime;
chance.mixin(time as any); // no error
chance.time(); // no error now I hope
Emmanuel Mahuni