The Wayback Machine - https://web.archive.org/web/20210803205728/https://github.com/microsoft/TypeScript/commits/main
Skip to content
Permalink
main

Commits on Aug 2, 2021

  1. Ensure all SortText entries have the same length (#45292)

    * Ensure all `SortText` entries have the same length.
    
    * Update Baselines and/or Applied Lint Fixes
    
    * Update the exact same enum to the exact same values in fourslash. 🙄
    
    * Make `SortTextId` a const enum, switch to use an explicit offset in `SortTextId`.
    
    Co-authored-by: TypeScript Bot <[email protected]>
    DanielRosenwasser and typescript-bot committed Aug 2, 2021
  2. LEGO: Merge pull request 45299

    LEGO: Merge pull request 45299
    csigs committed Aug 2, 2021
  3. expose getImmediateAliasedSymbol() publicly (#44644)

    Signed-off-by: Kubilay Kahveci <[email protected]>
    mkubilayk committed Aug 2, 2021
  4. Fix decorator metadata references to type-only-imported namespaces (#…

    …44915)
    
    * Add test
    
    * Fix metadata references to type-only-imported namespaces
    
    * Use `!!` instead of `|| false`
    andrewbranch committed Aug 2, 2021

Commits on Aug 1, 2021

Commits on Jul 31, 2021

Commits on Jul 30, 2021

  1. Fix bigInt completions (#45059)

    * Fix bigInt completions
    
    * Added regresion test
    armanio123 committed Jul 30, 2021
  2. Use arrow functions to bind globals correctly in web scenarios (#45242)

    * Use arrow functions to bind globals correctly in web scenarios
    
    microsoft/vscode#127700 (comment)
    
    * Add missing spread operators
    amcasey committed Jul 30, 2021
  3. Avoid provide hints for binding patterns (#44961)

    * Avoid provide hints for binding patterns
    
    * Rename as 56
    Kingwl committed Jul 30, 2021
  4. Avoid no-op export map updates (#45238)

    * Add id and version to ManyToManyPathMap
    
    ...so that unchanged maps can be recognized without having to examine
    their contents.
    
    * Track cache version on BuilderState
    
    In practice, `updateExportedFilesMapFromCache` is called repeatedly
    without the cache changing in between.  When this occurs, there's no
    need to update the `BuilderState` (this was already the net effect, but
    it took a long time to determine that no work was required).
    
    * Fix typo in comment
    amcasey committed Jul 30, 2021
  5. Fix getChildCount/At methods in EndOfFileTokens (#44991)

    * Fix getChildCount/At methods in EndOfFileTokens
    
    Before, they were hardcoded to return `0` and `undefined!`, respectively, but that is inaccurate for `EndOfFileToken`s with attached jsdoc.
    
    * Add tests for getChild* methods on EndOfFileTokens
    tjjfvi committed Jul 30, 2021

Commits on Jul 29, 2021

  1. Allow narrowing for any left-hand in operand (#45152)

    * allow narrowing for any left-hand in operand
    gabritto committed Jul 29, 2021
  2. Fix compiler crash on property symbols without declarations (#45190)

    * don't track computed name if symbol has no declaration
    
    * add compiler test
    
    * add non serializable property declaration emit error
    
    * don't track computed name if symbol has no declaration
    
    * fix small stuff
    
    * rebase: add non serializable property declaration emit error
    
    * use symbolToString instead of symbolName
    gabritto committed Jul 29, 2021
  3. Fix template string refactoring and nodeFactory bug

    Instead of letting `createTemplate*` generate a broken raw string from
    the cooked one, grab the source code for it.
    
    Also, add a missing bit to `\`-quote `$`s.  As the comment in the code
    says, it could just `\`-quote `${` since other `$`s are valid, but I
    think that it's less confusing to always quote $s (but the change is in
    the comment if minimalism is preferred).
    
    Also, a small-but-confusing bug in `getCookedText()`.
    
    Many tests for all of this.
    
    Fixes #40625
    elibarzilay committed Jul 29, 2021
Older