Skip to content

Commit

Permalink
Parse .tsx files in Typescript plugin (OctoLinker#438)
Browse files Browse the repository at this point in the history
This makes the `TYPESCRIPT_REFERENCE` pattern work on .tsx files.
  • Loading branch information
bildja authored and josephfrazier committed Jan 23, 2018
1 parent d81b97c commit 841ca9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/plugins/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {

getPattern() {
return {
pathRegexes: [/\.ts$/],
pathRegexes: [/\.tsx?$/],
githubClasses: ['type-typescript', 'highlight-source-ts'],
};
},
Expand Down

0 comments on commit 841ca9a

Please sign in to comment.