Skip to content

Commit

Permalink
fix: SwiftHighlightRules exports (#5516)
Browse files Browse the repository at this point in the history
* fix: SwiftHighlightRules typing

* fix: include HighlightRules export for backwards compatibility
  • Loading branch information
oykuyilmaz authored Mar 21, 2024
1 parent 529473b commit f493ab0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mode/swift_highlight_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,4 @@ var SwiftHighlightRules = function() {
oop.inherits(SwiftHighlightRules, TextHighlightRules);

exports.HighlightRules = SwiftHighlightRules;
exports.SwiftHighlightRules = SwiftHighlightRules;

0 comments on commit f493ab0

Please sign in to comment.