Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/TypeScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: Nevor/TypeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: SingletonTypes
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 30, 2014

  1. Singleton types using String literals types. Compatibility work remai…

    …ning on function returning different string literals.
    Nevor committed Oct 30, 2014
    Configuration menu
    Copy the full SHA
    70c3024 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8774828 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2014

  1. Extend type guards to filter objects by literal type properties :

      type Name = { kind : "name"; name : string };
      type Id  = { kind : "id"; id : number };
      type Obj = Name | Id;
      var o : obj;
      if (o.kind === "name") {
        /* o is considered as Name */
      } else {
        /* o is considered as Obj - Name */
      }
    Nevor committed Oct 31, 2014
    Configuration menu
    Copy the full SHA
    d288ece View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2014

  1. Configuration menu
    Copy the full SHA
    5c8c82d View commit details
    Browse the repository at this point in the history
  2. Narrow union types without remaining choices to void. This time takin…

    …g into account union types and single types sources.
    Nevor committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    d82f8f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2014

  1. Close a hole in type guards of property access with string literals. …

    …Add basic but sound switch statement guards over the theses same property access.
    Nevor committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    fd5c401 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2014

  1. Merge remote-tracking branch 'origin/master' into SingletonTypes

    Conflicts:
    	src/compiler/checker.ts
    Nevor committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    282a3d5 View commit details
    Browse the repository at this point in the history
Loading