forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
See microsoft#18284 (comment)
opened via imdone.io from a code comment on ed4e2e6e3b6 by Andy Hanson
TODO Should this just be emit
? id:713
TypeScript/src/compiler/emitter.ts
Lines 409 to 415 in 966fa16
// 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); | |
} | |
} |