Skip to content
Permalink
Branch: master
Commits on Nov 15, 2019
  1. Fix #35060 (#35065)

    jack-williams authored and DanielRosenwasser committed Nov 15, 2019
    * Fix 35060
    
    * Refactor and check ro-array to tuple case
    
    * Lint
Commits on Sep 18, 2019
  1. Narrow unknown under inequality when assumed false (#33488)

    jack-williams authored and RyanCavanaugh committed Sep 18, 2019
Commits on Sep 10, 2019
  1. Assume void variables are initialized

    jack-williams committed Sep 2, 2019
Commits on Aug 23, 2019
  1. Change doc-string for Unreliable variance flag. (#33036)

    jack-williams authored and weswigham committed Aug 23, 2019
Commits on Aug 15, 2019
  1. Comment correction

    jack-williams committed Aug 15, 2019
Commits on Apr 26, 2019
  1. Fix #24991: Weaken narrowing for == (#29840)

    jack-williams authored and RyanCavanaugh committed Apr 26, 2019
    Spelling
Commits on Apr 15, 2019
  1. Elaborate array and tuple relation errors

    jack-williams committed Apr 13, 2019
Commits on Mar 1, 2019
Commits on Feb 3, 2019
  1. Fix lint errors

    jack-williams committed Feb 3, 2019
  2. Merge branch 'master' into switch-on-unknown

    jack-williams committed Feb 3, 2019
  3. Update baselines for types affected by JSON change

    jack-williams committed Feb 3, 2019
  4. Narrow unknown in switch

    jack-williams committed Feb 3, 2019
Commits on Jan 25, 2019
  1. Simplify type flag check

    jack-williams committed Sep 18, 2018
Commits on Jan 17, 2019
  1. Fix #29457

    jack-williams committed Jan 17, 2019
    Use allTypesAssignableToKind instead of isTypeAssignableToKind to
    account for union types.
Commits on Oct 26, 2018
  1. Bring typeof switch inline with if (#27680)

    jack-williams authored and weswigham committed Oct 26, 2018
    - Narrow unknown
    - Narrow union members (in addition to filtering)
Commits on Oct 18, 2018
  1. Merge branch 'master' into trailing-void-args-are-optional

    jack-williams committed Oct 18, 2018
Commits on Oct 3, 2018
  1. Allow trailing void arguments to be omitted

    jack-williams committed Oct 3, 2018
Commits on Sep 6, 2018
  1. Update narrowing baseline

    jack-williams committed Sep 6, 2018
Commits on Jul 11, 2018
  1. Accept new baselines

    jack-williams committed Jul 11, 2018
  2. Improve comments in narrowBySwitchOnTypeOf

    jack-williams committed Jul 11, 2018
Commits on May 23, 2018
  1. Make undefined for default case less pervasive by removing once done …

    jack-williams committed May 23, 2018
    …with it
Commits on Apr 18, 2018
  1. Add typeof-for-switch

    jack-williams committed Feb 13, 2018
    Initial draft that works for union types
    
    First draft of PR ready code with tests
    
    Revert changed line for testing
    
    Add exhaustiveness checking and move narrowByTypeOfWitnesses
    
    Try caching mechanism
    
    Comment out exhaustiveness checking to find perf regression
    
    Re-enable exhaustiveness checking for typeof switches
    
    Check if changes to narrowByTypeOfWitnesses fix perf alone.
    
    Improve switch narrowing:
    
    + Take into account repeated clauses in the switch.
    + Handle unions of constrained type parameters.
    
    Add more tests
    
    Comments
    
    Revert back to if-like behaviour
    
    Remove redundant checks and simplify exhaustiveness checks
    
    Change comment for narrowBySwitchOnTypeOf
    
    Reduce implied type with getAssignmentReducedType
    
    Remove any annotations
Commits on Mar 6, 2018
Commits on Mar 1, 2018
  1. Check for symbol types in template expressions

    jack-williams committed Mar 1, 2018
Commits on Feb 12, 2018
  1. Fix #21848: Allows to mutate `const` with non-null assertion (#21873)

    jack-williams authored and Mohamed Hegazy committed Feb 12, 2018
Commits on Jan 10, 2018
  1. Ensure checkParameterInitializer always gets called

    jack-williams committed Jan 10, 2018
  2. Add review suggestions

    jack-williams committed Jan 10, 2018
    Move object destructuring assignment to checkObjectLiteralAssignment
    
    Only check assignability of types in checkVariableLikeDeclaration for
    object/array destructuring when there are properties present in the
    pattern.
Older
You can’t perform that action at this time.