Skip to content

Commit f0cb1c0

Browse files
fix: add TS and TSX as default extensions fixed #1377
1 parent 0e1172e commit f0cb1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const defaultConfig = {
22
// package.json ignored and don't get project infromation
33
'no-package': false,
44
// Extenstions which by dafault are parse
5-
parseExtension: ['mjs', 'js', 'jsx', 'es5', 'es6', 'vue']
5+
parseExtension: ['mjs', 'js', 'jsx', 'es5', 'es6', 'vue', 'ts', 'tsx']
66
};
77

88
function normalaze(config, global) {

0 commit comments

Comments
 (0)