Skip to content

Commit

Permalink
fix(ts-transform-paths): improve own import detector #18
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty Mcfly committed Nov 16, 2019
1 parent fb9f63c commit 29eb2f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Config, EmitHost, TransformationContext } from './Types'

const jsExts = ['min.js', 'js'] as const

const tsParts = ['.ts', '.tsx', '/index.ts', '/index.tsx'] as const
const tsParts = ['d.ts', 'd.tsx','.ts', '.tsx', '/index.ts', '/index.tsx', '/index.d.ts', '/index.d.tsx'] as const

export class ImportPathInternalResolver {
protected resolver: ImportPathsResolver
Expand Down

0 comments on commit 29eb2f7

Please sign in to comment.