tsover

TypeScript with Operator Overloading

'use tsover';

import {  } from './vec2f.ts';

const  = new (1, 2);
const  = new (3, 4);
const c =  + ;
const c: Vec2f

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.

Progressive Enhancement

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