get rid of some stuff

This commit is contained in:
Joeri Exelmans 2025-05-23 14:45:35 +02:00
parent 2333abe70f
commit 3d72f4d416
6 changed files with 38 additions and 86 deletions

25
index.d.ts vendored
View file

@ -165,16 +165,13 @@ export const unit: {
export function RBTreeWrapper(...args: any[]): any;
export class UnifyError extends Error {};
export class NotAFunctionError extends Error {};
export class IncompatibleTypesError extends Error {};
export class SubstitutionCycle extends Error {};
export function addDouble(x: any): any;
export function addInt(x: any): any;
export function apply(input: any): any;
export function assignFn(funType: any, paramType: any): any;
export function assignFnSubstitutions(funType: any, paramType: any, skip?: number): [any, any, any, any];
@ -243,8 +240,6 @@ export function getCompatibleInputTypes(env: any): any;
export function getDefaultTypeParser(): any;
export function getEnabledFunctions(env: any): any;
export function getFunctions(env: any): any;
export function getHumanReadableName(symbol: any): any;
@ -334,9 +329,9 @@ export function pretty(obj: any): any;
export function prettyT(type: any): any;
export function prettyU(unification: any): string;
export function prettyS(typevar: any, type: any): string;
export function prettyST(setOfTypes: any): string;
export function prettySS(substitution: Map<string, any>): string;
export function prodType(typeParam: any): any;
@ -350,17 +345,15 @@ export function structType(fields: any, rootSelf: any): any;
export function substitute(type: any, substitutions: any, stack: any): any;
export function subsitutionsEqual(m1: any, m2: any): boolean;
export function mergeSubstitutionsN(subs: any): any;
export function sumType(typeParam: any): any;
export function transitivelyGrow(uni: any): any;
export function unify(fType: any, aType: any): any;
export function unifyLL(typeA: any, typeB: any): any;
export function mergeUnifications(uniA: any, uniB: any): any;
export function reduceUnification(uni: any): any;
export function unify(typeA, typeB): any;
export function zip(a: any, b: any): any;