Created by

Operator Overloading
for TypeScript

A sustainable, drop-in fork of TypeScript. Enable custom operators in your codebase and offer progressive enhancement for library users.

'use tsover';
import { Vec2f } from './vec2f.ts';
const a = new Vec2f(1, 2);
const b = new Vec2f(3, 4);
const c = a + b;

Why choose tsover

Sustainable Fork

A sustainable fork of TypeScript that requires minimal maintenance thanks to a procedural application of patches.

Drop-in Replacement

The package is fully compatible with TypeScript and can be used as a drop-in replacement.

Library Friendly

Libraries can offer operator overloading to their users without requiring them to depend on tsover.