Go ProSign in
Hide playlist

    Understand TypeScript’s Control Flow Based Type Analysis

    The TypeScript compiler analyzes the control flow of your program to determine the most precise type for a variable at any given location.

    This lesson shows control flow based type analysis in action and explains how type guards and jumps in control flow affect the type that is inferred.

    You must be a Member to view code