Skip to content

Commit

Permalink
Reimplement Index Types
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Nov 23, 2023
1 parent f8935c4 commit b90fd6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typebox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const PatternStringExact = `^${PatternString}$`
// --------------------------------------------------------------------------
// Into
// --------------------------------------------------------------------------
export const Into = <T>(func: () => T): T => func()
export function Into<T>(func: () => T): T { return func() }
// --------------------------------------------------------------------------
// Helpers
// --------------------------------------------------------------------------
Expand Down

0 comments on commit b90fd6b

Please sign in to comment.