forked from angular/tsickle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate from the golden testing, tsickle has a test that just feeds **/*.d.ts into the TypeScript compiler, to verify that the generated d.ts are valid. Simplify this code to just glob for those files (rather than gathering them from each test separately), so that we can move one file in particular out of the goldens tree. Moving this file out unblocks an upcoming change, which is more cautious about the handling of d.ts files and goldens. This particular moved .d.ts is not a golden, it's just needed for this compilation test. PiperOrigin-RevId: 327506169
- Loading branch information
1 parent
1293fa8
commit 4de8092
Showing
4 changed files
with
38 additions
and
25 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,16 @@ | ||
/** | ||
* @fileoverview Tests that renamed exports get emitted with the correct Clutz | ||
* alias names. This is simulating the kinds of references Clutz wants to | ||
* generate to refer to types in tsickle. | ||
* | ||
* This file is tested by the e2e_clutz_dts test and passes as long as it | ||
* type-checks. | ||
*/ | ||
|
||
export {}; | ||
|
||
declare const moduleInternalName: typeof ಠ_ಠ.clutz | ||
.module$contents$test_files$reexport$declaration$renamed_export_MOTHER; | ||
|
||
declare const exportedName: typeof ಠ_ಠ.clutz | ||
.module$exports$test_files$reexport$declaration$renamed_export.MOTHER; |
This file was deleted.
Oops, something went wrong.