abacus-ts
v1.0.1
Published
Mini calculator implemented by only TypeScript type operation
Downloads
8
Readme
+*-/+*-/ abacus-ts +*-/+*-/
A simple calculator implemented by only TypeScript type operation.
import { Calc } from "abacus-ts";
type Answer = Calc<"(3+4-1)*2/2">;
const a: Answer = 6;
Try it with TypeScript Playground!
License
MIT