Skip to content

Commit

Permalink
Merge pull request #23 from Aman-Codes/tsx
Browse files Browse the repository at this point in the history
feat(tsx): added support for tsx

Reviewed-by: [email protected]
Tested-by: [email protected]
  • Loading branch information
GMishx authored Dec 17, 2020
2 parents 3d782c0 + 6740bdc commit 0da4db0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The Languages we support till now:
- Shell
- Swift
- TypeScript
- TSX

## Installation

Expand Down
1 change: 1 addition & 0 deletions nirjas/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def langIdentifier(file):
'.scala': 'scala',
'.sc': 'scala',
'.ts': 'typescript',
'.tsx': 'typescript',
'.txt': 'text',
'.lic': 'text',
'.install': 'text',
Expand Down
1 change: 1 addition & 0 deletions testScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def download_files(cwd):
"https://raw.githubusercontent.com/apache/thrift/f86845e8ed622e7e3b7c87f00f16729ee6cc524d/lib/ts/test/phantom-client.ts",
"https://raw.githubusercontent.com/airbnb/react-with-styles/2532394bb866aaade4dc750ee94c0ff213d9b6de/src/withStyles.jsx",
"https://raw.githubusercontent.com/flutter/plugins/e61e9d45bcaadc3e409d529d30735cb4db75c5c5/packages/android_alarm_manager/lib/android_alarm_manager.dart",
"https://raw.githubusercontent.com/microsoft/TypeScript/c33a14d66d0a452673ce77256e178bf84e875d2b/tests/cases/user/formik/index.tsx"
]

directory = os.path.join(cwd, "nirjas/languages/tests/TestFiles")
Expand Down

0 comments on commit 0da4db0

Please sign in to comment.