diff --git a/package.json b/package.json index a73bccc..4ee6ea6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zensors/sheriff", - "version": "2.1.1", + "version": "2.1.2", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { diff --git a/src/index.ts b/src/index.ts index d39506e..3f0ae0f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -452,6 +452,8 @@ export namespace M { export function union(t1: Marshaller, t2: Marshaller, t3: Marshaller, t4: Marshaller, t5: Marshaller, t6: Marshaller, t7: Marshaller, t8: Marshaller): Marshaller; export function union(t1: Marshaller, t2: Marshaller, t3: Marshaller, t4: Marshaller, t5: Marshaller, t6: Marshaller, t7: Marshaller, t8: Marshaller, t9: Marshaller): Marshaller; export function union(t1: Marshaller, t2: Marshaller, t3: Marshaller, t4: Marshaller, t5: Marshaller, t6: Marshaller, t7: Marshaller, t8: Marshaller, t9: Marshaller, t10: Marshaller): Marshaller; + export function union(t1: Marshaller, t2: Marshaller, t3: Marshaller, t4: Marshaller, t5: Marshaller, t6: Marshaller, t7: Marshaller, t8: Marshaller, t9: Marshaller, t10: Marshaller, t11: Marshaller): Marshaller; + export function union(t1: Marshaller, t2: Marshaller, t3: Marshaller, t4: Marshaller, t5: Marshaller, t6: Marshaller, t7: Marshaller, t8: Marshaller, t9: Marshaller, t10: Marshaller, t11: Marshaller, t12: Marshaller): Marshaller; export function union(...types: Marshaller[]): Marshaller { return { kind: "union" as const, types }; }