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

fix: allowUnreachableCode default should be undefined #1101

Merged

Conversation

agilgur5
Copy link
Contributor

Description

  • it was recently changed to undefined in the TSConfig Reference in
    ea8407c

    • this carries over that change to the Compiler Options docs as well
  • and it being undefined seems to align with my past experience with
    unreachable code in TS, but have not tested directly recently

Tags

Found while investigating discrepancies between the TSConfig Reference and Compiler Options after finding #1092

This goes along with the changes to the Reference in #776

- it was recently changed to undefined in the TSConfig Reference in
  ea8407c
  - this carries over that change to the Compiler Options docs as well

- and it being undefined seems to align with my past experience with
  unreachable code in TS, but have not tested directly recently
@orta
Copy link
Contributor

orta commented Sep 18, 2020

Agree - thanks!

@orta orta merged commit bc87a95 into microsoft:v2 Sep 18, 2020
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 this pull request may close these issues.

2 participants