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
(cherry picked from commit 955f307)
  • Loading branch information
valentinpalkovic authored and storybook-bot committed Jul 15, 2024
1 parent cabf99b commit c91a4ba
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 c91a4ba

Please sign in to comment.