Skip to content

Commit

Permalink
Merge pull request #28587 from storybookjs/valentin/fix-type-issue
Browse files Browse the repository at this point in the history
CSF: Fix small typing issue
  • Loading branch information
valentinpalkovic committed Jul 13, 2024
2 parents 0a670ef + f06966a commit 955f307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/core/src/csf-tools/CsfFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ export const loadCsf = (code: string, options: CsfOptions) => {

export const formatCsf = (
csf: CsfFile,
options: GeneratorOptions & { inputSourceMap?: string } = { sourceMaps: false },
options: GeneratorOptions & { inputSourceMap?: any } = { sourceMaps: false },
code?: string
) => {
const result = generate(csf._ast, options, code);
Expand Down

0 comments on commit 955f307

Please sign in to comment.