From 6d66d17968d626877cb2f035e20f64c07a650d36 Mon Sep 17 00:00:00 2001 From: mierenmanz Date: Mon, 13 Nov 2023 20:24:58 +0100 Subject: [PATCH] x --- src/compound/tagged_union.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compound/tagged_union.ts b/src/compound/tagged_union.ts index d23b9cd..1e33525 100644 --- a/src/compound/tagged_union.ts +++ b/src/compound/tagged_union.ts @@ -8,7 +8,7 @@ import { } from "../types/mod.ts"; import { getBiggestAlignment } from "../util.ts"; -type Fn = (value: T) => number; +type Fn = (variant: V) => InnerType>; export class TaggedUnion< T extends Record>,