Closed
Description
I create an repository for the bug.
https://github.com/joshuaavalon/typescript-transform-paths-bug
After npm run build
, lib\foo\index.js
has
const a_1 = require("..\\a");
but lib\foo\index.d.ts
has
import { A } from "@/a";
export declare type B = {
b: A;
};
Edit:
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
It transforms *.d.ts but it does not tranform .js
Metadata
Metadata
Assignees
Labels
No labels