UNPKG

@sunzhongmou/math

Version:
20 lines (19 loc) 634 B
import { Mathematics } from './mathematics'; export declare class MathematicsBuilder { maximum: number; addCapacity: number; subCapacity: number; fillCapacity: number; operandsInTen: boolean; loopAdd: boolean; constructor(); withMaximum(maximum: number): MathematicsBuilder; withOperandsInTen(): MathematicsBuilder; withLoopAdd(): MathematicsBuilder; withAdd(capacity: number): MathematicsBuilder; withSub(capacity: number): MathematicsBuilder; withFill(capacity: number): MathematicsBuilder; build(): Mathematics; buildTen(): Mathematics; buildTwenty(): Mathematics; }