Skip to content

Commit

Permalink
refactor(options)!: type format as Format (#877)
Browse files Browse the repository at this point in the history
This types Options.format as `Format[] | Format` instead of `Format[] | string`
  • Loading branch information
spifory authored Jun 16, 2023
1 parent 33d8ab8 commit b10a1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export type Options = {
jsxFragment?: string
outDir?: string
outExtension?: OutExtensionFactory
format?: Format[] | string
format?: Format[] | Format
globalName?: string
env?: {
[k: string]: string
Expand Down

0 comments on commit b10a1ad

Please sign in to comment.