Skip to content

Commit eb355e9

Browse files
committed
feat: support import ts definition
1 parent cf5573b commit eb355e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/typescript.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Adds `.jsx`, `.ts` and `.tsx` as an extension, and enables JSX/TSX parsing.
33
*/
44
var jsExtensions = ['.js', '.jsx'];
5-
var tsExtensions = ['.ts', '.tsx'];
5+
var tsExtensions = ['.d.ts','.ts', '.tsx'];
66
var allExtensions = jsExtensions.concat(tsExtensions);
77

88
module.exports = {

0 commit comments

Comments
 (0)