Commit 032377d
committed
refactor(transformer/typescript): do not need to go through
Benefits from #10350. `NamespaceModule` means this `TSModuleDeclaration` is a type-only declaration, so that we can get rid of it early without going through its block.TSModuleDeclaration if is a NamespaceModule (#10366)1 parent 1ff75bc commit 032377d
File tree
5 files changed
+122
-402
lines changed- crates
- oxc_syntax/src
- oxc_transformer/src/typescript
- tasks
- coverage/snapshots
- transform_conformance
- overrides/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed
- snapshots
5 files changed
+122
-402
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
258 | 263 | | |
259 | 264 | | |
260 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| |||
235 | 240 | | |
236 | 241 | | |
237 | 242 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | 243 | | |
247 | 244 | | |
248 | 245 | | |
| |||
0 commit comments