Skip to content

Commit ff8c29e

Browse files
committed
fix TS2339: Property backgrounds does not exist on type
1 parent 543e287 commit ff8c29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function copyBackgroundsForFileSystem() {
5151
const filteredFileContentsArray = fileContentsArray.filter(
5252
({ theme: fileTheme }) => fileTheme === theme,
5353
);
54-
config.themes[index].backgrounds = filteredFileContentsArray.map(
54+
config.themes[index]["backgrounds"] = filteredFileContentsArray.map(
5555
({ src, fontColor }) => (fontColor ? { src, fontColor } : { src }),
5656
);
5757
});

0 commit comments

Comments
 (0)