Skip to content

Commit f8c91fd

Browse files
authored
Fix strict typings
1 parent 8034565 commit f8c91fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface ReactDiffViewerStyles {
1717
emptyGutter?: string;
1818
emptyLine?: string;
1919
codeFold?: string;
20-
[key: string]: string;
20+
[key: string]: string | undefined;
2121
}
2222

2323
export interface ReactDiffViewerStylesOverride {

0 commit comments

Comments
 (0)