From f06966a84a4e7fea28b6d06a13d1c1fa63adf2f8 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Sat, 13 Jul 2024 08:12:10 +0200 Subject: [PATCH] CSF: Fix small typing issue --- code/core/src/csf-tools/CsfFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/core/src/csf-tools/CsfFile.ts b/code/core/src/csf-tools/CsfFile.ts index 153bf8e0a1f3..2ab3bfa27408 100644 --- a/code/core/src/csf-tools/CsfFile.ts +++ b/code/core/src/csf-tools/CsfFile.ts @@ -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);