Skip to content
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

REPL outputs 'use strict' after first empty line of input #1387

Closed
cspotcode opened this issue Jul 7, 2021 · 0 comments · Fixed by #1388
Closed

REPL outputs 'use strict' after first empty line of input #1387

cspotcode opened this issue Jul 7, 2021 · 0 comments · Fixed by #1388
Milestone

Comments

@cspotcode
Copy link
Collaborator

Expected Behavior

If you type nothing into the first line of REPL input, you should not see 'use strict'. The TS compiler emits 'use strict' but that's not what the user entered, so they shouldn't see it.

Actual Behavior

Hitting enter in the REPL with no input on the first line shows use strict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant