const chance = new Chance() as Chance.Chance & ITime; chance.mixin(time as any); // no error chance.time(); // no error now I hope