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

Design Meeting Notes, 5/10/2017 #15747

Closed
mhegazy opened this issue May 10, 2017 · 0 comments
Closed

Design Meeting Notes, 5/10/2017 #15747

mhegazy opened this issue May 10, 2017 · 0 comments
Labels
Design Notes Notes from our design meetings

Comments

@mhegazy
Copy link
Contributor

mhegazy commented May 10, 2017

CheckJs feedback

Inference failures and explicit type parameters

Use of JSDoc types:

Globals

JSDoc value references to types

Errors as warnings

  • Add support for diagnostic severities #13408
  • Ability to group errors together #15550
    • should we disable specific errors?
      • no, disable TS2339 (type {0} does not have property {1}) and TS2322: (Type {0} is not assignable to type {1}) and you have almost eliminated the whole value prop for TS
      • So turn them all into warnings
        - but all our errors are warnings, they do not block emit
      • just make them all warnings level-wise
        - ppl seem to like warnings more than errors, no immediate action is implied
        - @alexeagle noted that from his Java research ppl always ignore warnings, why have warnings if users do not care about them, and i they care, why do not they break the build?
      • not all errors created equal, syntax errors are different from noUnusedLocals
        - but you can disable --noUnusedLocals all together.. so why enable it to ignore its output
    • No conclusion here, same discussion like the last 10 times we talked about this, same conclusion:)

Completions

Spread and call

--d with --allowjs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Design Notes Notes from our design meetings
Projects
None yet
Development

No branches or pull requests

1 participant