From 0d3ccee7d5ce703e71fd3c05e1795c7968646a34 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Fri, 23 May 2025 18:58:34 +0200 Subject: [PATCH] typo --- lib/generics/unify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generics/unify.js b/lib/generics/unify.js index e727565..8dcff8f 100644 --- a/lib/generics/unify.js +++ b/lib/generics/unify.js @@ -11,7 +11,7 @@ export const prettyS = (typevar, type) => { } export const prettySS = (rUni) => '{'+[...rUni].map(([symbol,type]) => `${prettyS(symbol,type)}`).join(', ')+'}'; -export class IncompabibleTypesError extends Error { +export class IncompatibleTypesError extends Error { constructor(typeA, typeB, nestedErr) { const msg = `\nIncompatible types: ${prettyT(typeA)} and ${prettyT(typeB)}`; if (nestedErr) {