Skip to content

(fix): strict* checks are true when strict - #500

Merged
Orta Therox (orta) merged 1 commit into
microsoft:v2from
agilgur5:fix-strict-tsconfig-ref
Apr 12, 2020
Merged

Orta Therox (orta) merged 1 commit into
microsoft:v2from
agilgur5:fix-strict-tsconfig-ref

Conversation

@agilgur5

Copy link
Copy Markdown
Contributor
  • in the docs, "Strict Checks" include noImplicitAny, noImplicitThis,
    strictNullChecks, strictFunctionTypes, strictBindCallApply,
    strictPropertyInitialization, and alwaysStrict

    • so they should all have consistent defaults
  • noImplicitReturns is not part of "Strict Checks" and is actually
    part of "Linter Checks", so this was incorrectly documented

    • so its default should be plain false
- in the docs, "Strict Checks" include noImplicitAny, noImplicitThis,
  strictNullChecks, strictFunctionTypes, strictBindCallApply,
  strictPropertyInitialization, and alwaysStrict
  - so they should all have consistent defaults

- noImplicitReturns is *not* part of "Strict Checks" and is actually
  part of "Linter Checks", so this was incorrectly documented
  - so its default should be plain false
@orta

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants