Skip to content

Commit

Permalink
chore: adjust typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 17, 2020
1 parent c9fe945 commit bbbcbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (languageParser) {
parser.setLanguage(languageParser);

// Strip HTML from the source code to ensure we can still use the TypeScript
// parser instead of the JSX parser.
// parser instead of the TSX parser.
const sourceCode = fs
.readFileSync(filepath, { encoding: 'utf8', flag: 'r' })
.replace(/<\/?[^>]+(>|$)/g, '');
Expand Down

0 comments on commit bbbcbd4

Please sign in to comment.