-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed handling imports from inlined packages
Fixes #199
- Loading branch information
Showing
8 changed files
with
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { TestCaseConfig } from '../test-case-config'; | ||
|
||
const config: TestCaseConfig = { | ||
libraries: { | ||
inlinedLibraries: ['fake-package', 'fake-fs'], | ||
}, | ||
}; | ||
|
||
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { InterfaceWithFields } from 'fake-package'; | ||
export { File } from 'fake-fs'; |
16 changes: 16 additions & 0 deletions
16
tests/e2e/test-cases/inline-from-deps-transitive/output.d.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Path } from 'fake-path'; | ||
import { InterfaceFromTypesPackage } from 'fake-types-lib'; | ||
|
||
export interface Interface { | ||
} | ||
export type Type = number | string; | ||
export interface InterfaceWithFields { | ||
field: Type; | ||
field2: Interface; | ||
field3: InterfaceFromTypesPackage; | ||
} | ||
export interface File { | ||
path: Path; | ||
} | ||
|
||
export {}; |
11 changes: 11 additions & 0 deletions
11
tests/e2e/test-cases/node_modules/@types/fake-node/index.d.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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