Skip to content

Commit e8fa12f

Browse files
author
Nathan Esau
committed
add ts support
1 parent 3818bc5 commit e8fa12f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ const DEFAULT_CONFIG = {
2929
'ruby',
3030
'rust',
3131
'scala',
32-
'swift'
32+
'swift',
33+
'typescript'
3334
],
3435
urls: {
3536
// base urls

lib/helper.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ const LANGS = [
4545
{lang: 'ruby', ext: '.rb', style: '#'},
4646
{lang: 'rust', ext: '.rs', style: 'c'},
4747
{lang: 'scala', ext: '.scala', style: 'c'},
48-
{lang: 'swift', ext: '.swift', style: 'c'}
48+
{lang: 'swift', ext: '.swift', style: 'c'},
49+
{lang: 'typescript', ext: '.ts', style: 'c'}
4950
];
5051

5152
const h = {};

0 commit comments

Comments
 (0)