ant-design/components/theme/util/calc/calculator.ts
MadCcc 96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var (#45705)
* feat: Tooltip, Popover, Dropdown, Tour support css var

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add test
2023-11-08 14:56:15 +08:00

12 lines
354 B
TypeScript

export default abstract class AbstractCalculator {
abstract add(num: number | string | AbstractCalculator): this;
abstract sub(num: number | string | AbstractCalculator): this;
abstract mul(num: number | string | AbstractCalculator): this;
abstract div(num: number | string | AbstractCalculator): this;
abstract equal(): string | number;
}