Skip to content

Commit b23c9a9

Browse files
authored
Merge pull request #53 from jamiewinder/patch-1
Fix strict typings of ReactDiffViewerStyles
2 parents 9129575 + f8c91fd commit b23c9a9

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)