@sunzhongmou/math
Version:
Mathematical knowledge context
20 lines (19 loc) • 634 B
TypeScript
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;
}