Skip to content

Commit 7194f48

Browse files
Adds .d.ts extension
1 parent 9018cfd commit 7194f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require('path');
33

44
function opts(file, config) {
55
return Object.assign(
6-
{ extensions: ['.ts', '.tsx'] },
6+
{ extensions: ['.ts', '.tsx', '.d.ts'] },
77
config,
88
// path.resolve will handle paths relative to CWD
99
{ basedir: path.dirname(path.resolve(file)) }

0 commit comments

Comments
 (0)