Commit bdd49bc
authored
avoid syntax error in .d.ts when the module names end up long (#273)
It is not legal typescript to wrap a `declare module "foo/bar" {` statement - this is a SyntaxError. as such, we need to `self.emit()` this statement instead of `self.emit_wrapped_text()`.1 parent 9600065 commit bdd49bc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
0 commit comments