Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: typescript declare global conflict with TSModuleBlock declaration
- Loading branch information
1 parent
94af0e5
commit a0bd18e
Showing
3 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...gin-transform-typescript/test/fixtures/namespace/declare-global-nested-namespace/input.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,3 @@ | ||
declare global { namespace globalThis { var i18n: any; } } | ||
|
||
export class i18n {} |
1 change: 1 addition & 0 deletions
1
...n-transform-typescript/test/fixtures/namespace/declare-global-nested-namespace/output.mjs
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 @@ | ||
export class i18n {} |
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