diff --git a/src/typebox.ts b/src/typebox.ts index 7c972027f..5fff06553 100644 --- a/src/typebox.ts +++ b/src/typebox.ts @@ -46,7 +46,7 @@ export const PatternStringExact = `^${PatternString}$` // -------------------------------------------------------------------------- // Into // -------------------------------------------------------------------------- -export const Into = (func: () => T): T => func() +export function Into(func: () => T): T { return func() } // -------------------------------------------------------------------------- // Helpers // --------------------------------------------------------------------------