Skip to content

Commit 762e375

Browse files
authored
fix(revealjs): fix typo for escapeHTML highlight option (DefinitelyTyped#74057)
1 parent 4b4d088 commit 762e375

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

types/reveal.js/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ declare namespace Reveal {
15351535
*/
15361536
interface HighlightConfig {
15371537
highlightOnLoad?: boolean;
1538-
excapeHTML?: boolean;
1538+
escapeHTML?: boolean;
15391539
beforeHighlight?: (...args: any) => any;
15401540
}
15411541

types/reveal.js/reveal.esm.js-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ deck.initialize({
342342
// highlight
343343
highlight: {
344344
highlightOnLoad: true,
345-
excapeHTML: true,
345+
escapeHTML: true,
346346
beforeHighlight: () => {},
347347
},
348348

types/reveal.js/reveal.js-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ deck.initialize({
372372
// highlight
373373
highlight: {
374374
highlightOnLoad: true,
375-
excapeHTML: true,
375+
escapeHTML: true,
376376
beforeHighlight: () => {},
377377
},
378378

0 commit comments

Comments
 (0)