We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my project I am using ts-patch as a replacement of ttypescript/
But I have an issue that it let the .d.ts file import which ttypescript did not . leading me to issues (js cannot import tis kind of file)
.d.ts
So to explain I have just a src/file.ts that do this
src/file.ts
import declarations from 'file-declaration';
Which is an alias path inside tsconfig to schemas/lib/index.d.ts
schemas/lib/index.d.ts
but the output is this one
const declaration_1 = __importDefault(require("../../schemas/lib"));
And cause the issue
The text was updated successfully, but these errors were encountered:
Hello. Thanks for the report.
What versions of TS and TSP are you using? What transformer are you using?
If possible, can you provide a reproduction and some more details? If not, the above info will still help.
Thanks!
Sorry, something went wrong.
No branches or pull requests
In my project I am using ts-patch as a replacement of ttypescript/
But I have an issue that it let the
.d.ts
file import which ttypescript did not . leading me to issues (js cannot import tis kind of file)So to explain I have just a
src/file.ts
that do thisWhich is an alias path inside tsconfig to
schemas/lib/index.d.ts
but the output is this one
And cause the issue
The text was updated successfully, but these errors were encountered: