https://github.com/kennethnym/ts-types-arithmetics
basic math arithmetics in pure typescript types
https://github.com/kennethnym/ts-types-arithmetics
Last synced: about 1 month ago
JSON representation
basic math arithmetics in pure typescript types
- Host: GitHub
- URL: https://github.com/kennethnym/ts-types-arithmetics
- Owner: kennethnym
- License: mit
- Created: 2024-05-13T22:09:11.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-29T02:58:48.000Z (10 months ago)
- Last Synced: 2025-03-28T12:37:43.533Z (about 2 months ago)
- Language: TypeScript
- Size: 1.95 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
this repo contains implementation of addition, subtraction, and multiplication using only typescript types, results of which are obtained by inferring the type.
[link to my blog](https://kennethnym.com/blog/arithmetics-with-typescript-types)
## why?
i am bored
## future plan
porting doom to the typescript type system, obviously.