Skip to content

Commit

Permalink
accept any string
Browse files Browse the repository at this point in the history
  • Loading branch information
farreldarian committed Apr 10, 2024
1 parent c706df4 commit bb85d3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/generator/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ import {
type Output,
type SchemaIssues,
flatten,
literal,
object,
optional,
safeParse,
union,
string,
} from 'valibot'
import { DateMode } from '~/shared/date-mode'
import { ModuleResolution } from '~/shared/generator-context/module-resolution'
Expand All @@ -17,7 +16,7 @@ const Config = object({
relationalQuery: withDefault(optional(BooleanInStr), true),
moduleResolution: optional(ModuleResolution),
verbose: optional(BooleanInStr),
formatter: optional(union([literal('prettier'), literal('biome')])),
formatter: optional(string()),
dateMode: optional(DateMode),
})
export type Config = Output<typeof Config>
Expand Down

0 comments on commit bb85d3b

Please sign in to comment.