Skip to content

Design Meeting Notes, 5/10/2017 #15747

@mhegazy

Description

@mhegazy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Design NotesNotes from our design meetings

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions