Skip to content

Should this just be emit? #714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
piascikj opened this issue Sep 7, 2017 · 0 comments
Open

Should this just be emit? #714

piascikj opened this issue Sep 7, 2017 · 0 comments
Labels

Comments

@piascikj
Copy link
Member

piascikj commented Sep 7, 2017

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


// 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);
}
}

@piascikj piascikj added the TODO label Jan 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant