File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
renderers/react/src/components/content Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ import MarkdownIt from 'markdown-it';
88type UsageHint = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'caption' | 'body' ;
99
1010interface HintedStyles {
11- h1 : Record < string , string > ;
12- h2 : Record < string , string > ;
13- h3 : Record < string , string > ;
14- h4 : Record < string , string > ;
15- h5 : Record < string , string > ;
16- body : Record < string , string > ;
17- caption : Record < string , string > ;
11+ h1 ? : Record < string , string > ;
12+ h2 ? : Record < string , string > ;
13+ h3 ? : Record < string , string > ;
14+ h4 ? : Record < string , string > ;
15+ h5 ? : Record < string , string > ;
16+ body ? : Record < string , string > ;
17+ caption ? : Record < string , string > ;
1818}
1919
2020function isHintedStyles ( styles : unknown ) : styles is HintedStyles {
You can’t perform that action at this time.
0 commit comments