opened via imdone.io from a code comment on ed4e2e6e3b6 by Andy Hanson
TODO Should this just be emit? id:713
|
// TODO: Should this just be `emit`? |
|
// See https://github.com/Microsoft/TypeScript/pull/18284#discussion_r137611034 |
|
function emitIfPresent(node: Node | undefined) { |
|
if (node) { |
|
emit(node); |
|
} |
|
} |
See microsoft#18284 (comment)
opened via imdone.io from a code comment on ed4e2e6e3b6 by Andy Hanson
TODO Should this just be
emit? id:713TypeScript/src/compiler/emitter.ts
Lines 409 to 415 in 966fa16