Skip to content

Commit

Permalink
Added support for name-collision resolution
Browse files Browse the repository at this point in the history
Fixes #116
Fixes #130
Fixed #184
  • Loading branch information
timocov committed Nov 19, 2023
1 parent 697c6df commit ff1dcae
Show file tree
Hide file tree
Showing 36 changed files with 1,302 additions and 727 deletions.
6 changes: 6 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
const path = require('path');

// override tsconfig for tests
process.env.TS_NODE_PROJECT = path.resolve(__dirname, './tsconfig.options.json');
process.env.TS_NODE_TRANSPILE_ONLY = 'true';

const config = {
require: [
'ts-node/register',
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ but:

## Known limitations

1. All your types should have different names inside a bundle. If you have 2 `interface Options {}` they will be merged by `TypeScript` and you will get wrong definitions (see https://github.com/timocov/dts-bundle-generator/issues/116 and https://github.com/timocov/dts-bundle-generator/issues/130)
1. Importing and exporting with renaming in modules outside of entry points is limited/not supported as yet (see https://github.com/timocov/dts-bundle-generator/issues/184)

[ci-img]: https://github.com/timocov/dts-bundle-generator/workflows/CI%20Test/badge.svg?branch=master
Expand Down
Loading

0 comments on commit ff1dcae

Please sign in to comment.