-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable
exportReferencedTypes
option by default and throw error if …
…referenced type is not exported because of the name collisions Fixes #289
- Loading branch information
Showing
29 changed files
with
110 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
tests/e2e/test-cases/different-default-export-names-in-project/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
6 changes: 5 additions & 1 deletion
6
tests/e2e/test-cases/dont-inline-declare-extenal-modules-in-internal-files/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
tests/e2e/test-cases/import-from-non-relative-path-inferred-type/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
tests/e2e/test-cases/modules-in-internal-files-without-inline-declare-globals/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
6 changes: 5 additions & 1 deletion
6
tests/e2e/test-cases/re-export-default-export-with-same-name/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
6 changes: 5 additions & 1 deletion
6
tests/e2e/test-cases/several-import-star-from-one-package/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../../test-cases/test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
6 changes: 5 additions & 1 deletion
6
tests/e2e/test-cases/strip-export-from-non-exported-enum/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = {}; | ||
const config: TestCaseConfig = { | ||
output: { | ||
exportReferencedTypes: true, | ||
}, | ||
}; | ||
|
||
export = config; |