Skip to content

Commit

Permalink
WIP fix any
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Sep 1, 2024
1 parent b517b8a commit 35c9304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function createWriteFile(outputFiles: EmittedFiles) {
if (!ext) return;
rootName = `${rootName}.ts`;
const key = ext.replace(".", "") as keyof EmittedFiles[string];
if (!outputFiles[rootName]) outputFiles[rootName] = <any>{};
outputFiles[rootName] ??= {} as Record<keyof EmittedFiles[string], string>;
outputFiles[rootName][key] = data;
};
}
Expand Down

0 comments on commit 35c9304

Please sign in to comment.