Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync and bump release 4.7 to RC #49007

Merged
merged 123 commits into from
May 7, 2022
Merged

Sync and bump release 4.7 to RC #49007

merged 123 commits into from
May 7, 2022

Commits on Apr 6, 2022

  1. Some refactoring for baselining for easy update (#48516)

    * Some refactoring for baselining for easy update
    
    * Set modified time in baseline
    
    * Some renames per feedback
    sheetalkamat committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    3fd8a6e View commit details
    Browse the repository at this point in the history
  2. Permit type alias variance annotations only for certain object types (#…

    …48589)
    
    * Permit type alias variance annotations only for certain object types
    
    * Accept new baselines
    ahejlsberg committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    8f6e626 View commit details
    Browse the repository at this point in the history
  3. More refactoring of tsc baselines to help with easier updates (#48572)

    * Some refactoring of baselines
    
    * Some refactoring of baselines
    sheetalkamat committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    4c6f25a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    702bc52 View commit details
    Browse the repository at this point in the history
  5. Ensure late painted statements are only transformed once, so inner su…

    …bstitutions are consistently read (#48558)
    
    * Ensure late painted statements are only transformed once, so inner substitutions are consistently read
    
    * PR suggestion
    
    * Fix lint
    weswigham committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    94d33ba View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Configuration menu
    Copy the full SHA
    4d2fb54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b975dfa View commit details
    Browse the repository at this point in the history
  3. Do not reset control flow analysis on index signatures (#48427)

    * do not flag index signatures as a control flow container
    
    * add tests and baselines
    jihndai committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    b18141b View commit details
    Browse the repository at this point in the history
  4. Write version for baselining in buildinfo (#48602)

    Also baseline buildinfo so its easier to detect mistakes
    sheetalkamat committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    d8edd19 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ca96d2e View commit details
    Browse the repository at this point in the history
  6. preserve this when extracting functions (#41992)

    * preserve this when extracting functions
    
    * rename IsThisReferringToFunction to UsesThisInFunction
    
    * refactor
    
    * update tests
    Zzzen committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    f4b99ea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b45cf0d View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. LEGO: Merge pull request 48612

    LEGO: Merge pull request 48612
    csigs committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    b1fb729 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b2fa50 View commit details
    Browse the repository at this point in the history
  3. Update release-branch-artifact.yaml

    12 -> 14 (we have odd test errors on 12 that aren't worth debugging)
    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    1df8073 View commit details
    Browse the repository at this point in the history
  4. Update new-release-branch.yaml

    12 -> 14
    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    ee82068 View commit details
    Browse the repository at this point in the history
  5. Update accept-baselines-fix-lints.yaml

    12 -> 14
    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    8e44746 View commit details
    Browse the repository at this point in the history
  6. Update ci.yml

    Update node versions
    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    a33e7ac View commit details
    Browse the repository at this point in the history
  7. Update nightly.yaml

    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    b246dee View commit details
    Browse the repository at this point in the history
  8. Update set-version.yaml

    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    6bcc53b View commit details
    Browse the repository at this point in the history
  9. Update sync-branch.yaml

    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    76e6e46 View commit details
    Browse the repository at this point in the history
  10. Update update-lkg.yml

    12 -> 14
    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    5e721d9 View commit details
    Browse the repository at this point in the history
  11. Update update-package-lock.yaml

    12 -> 14
    weswigham committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    f30ce1f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    12c4ea8 View commit details
    Browse the repository at this point in the history
  13. Reuse type nodes from optional parameters even when not written as a …

    …union with `undefined` (#48605)
    
    * Reuse type nodes from optional parameters and properties even when not written as a union with `undefined`
    
    * Remove newly unneeded NodeBuilderFlag
    
    * Update public API
    
    * Update baselines from main
    andrewbranch committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    af3e1d4 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2022

  1. LEGO: Merge pull request 48621

    LEGO: Merge pull request 48621
    csigs committed Apr 9, 2022
    Configuration menu
    Copy the full SHA
    b797a3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a744862 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2022

  1. LEGO: Merge pull request 48633

    LEGO: Merge pull request 48633
    csigs committed Apr 10, 2022
    Configuration menu
    Copy the full SHA
    f81f63f View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Configuration menu
    Copy the full SHA
    dfb9f2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1db699 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7d818b View commit details
    Browse the repository at this point in the history
  4. Update affected files pending emit when emitting using SemanticDignos…

    …ticsBuilderProgram (#48519)
    
    * Update affected files pending emit when emitting using SemanticDignosticsBuilderProgram
    
    * Saving of affected files pending emit is not needed any more
    
    * PR feedback
    sheetalkamat committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    15c2120 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02787cf View commit details
    Browse the repository at this point in the history
  6. Fix the issue with not serializing impliedFormat when signature and v…

    …ersion of the file are same (#48614)
    
    * When checking for incremental correctness always calculate signature
    
    * Fix the issue with not serializing impliedFormat when signature == version of the file
    sheetalkamat committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    a1e77ed View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Configuration menu
    Copy the full SHA
    c9a4d01 View commit details
    Browse the repository at this point in the history
  2. Variance annotations on class expressions + deferred valiation (#48645)

    * Variance annotations on class expressions + deferred validation
    
    * Add regression tests
    ahejlsberg committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    cce61d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    988fa85 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. More permissive parsing of instantiation expressions (#48659)

    * More permissive parsing of expressions with type arguments
    
    * Add test
    ahejlsberg committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    a027cfa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73c93ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    796be45 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. WIP (#48682)

    andrewbranch committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    cb8ddd9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7c9593 View commit details
    Browse the repository at this point in the history
  3. Fix workflow syntax

    andrewbranch committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    f1df67c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fdffbf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a4cb30 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fa2515e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e6dcf6f View commit details
    Browse the repository at this point in the history
  8. Find Source Definition (#48264)

    * Prototype resolving to JS when go-to-def aliases all resolve to ambient declarations
    
    * Add test infrastructure
    
    * Start fleshing out test coverage
    
    * Fix some go-to-def stuff
    
    * Finish lodash test case
    
    * Make go-to-implementation never return ambient results
    
    * Build new functionality into go-to-implementation
    
    * Update baselines
    
    * Two more test cases
    
    * Refine definition searches for unresolved imports
    
    * Revert "Build new functionality into go-to-implementation"
    
    This reverts commit 381799d.
    
    * Fix tests
    
    * Revert go-to-implementation changes
    
    * Wow a bunch of code was unnecessary
    
    * Update baselines and go-to-def test
    
    * Fix navigation on symbols that are not aliases but resolve through aliases in chain
    
    * Temporarily replace go-to-def with new command implementation
    
    * Revert "Temporarily replace go-to-def with new command implementation"
    
    This reverts commit 34c6cfd.
    
    * Revert "Wow a bunch of code was unnecessary"
    
    This reverts commit 1cb2ba6.
    
    * Bring back some deleted code needed for a new test case
    
    * Clean up a little
    
    * Rename more stuff
    
    * Update test
    
    * Update API baseline
    
    * Temporarily replace go-to-def with new command implementation
    
    * PR review fixes
    
    * Fix getTopMostDeclarationNamesInFile
    
    * Rename local
    
    * Use hash set
    
    * Remove option from commandLineParser
    
    * Keep noDtsResolution project around
    
    * Handle AuxiliaryProject kind in ScriptInfo getDefaultProject etc.
    
    * Do not run updateGraph in the background for AuxiliaryProject
    
    * Don’t create auxiliary project outside of semantic mode
    
    * No-op on scheduled invalidation
    
    * Add comments to unit test
    
    * Sync compiler options to auxiliary project
    
    * Fix case sensitivity
    
    * Update extensionIsOk with new file extensions
    
    * PR feedback
    
    * Update API baseline
    
    * Mark scheduleInvalidateResolutionsOfFailedLookupLocations internal
    
    * Use same heuristics on property accesses of loosely-resolvable aliases as unresolvable named imports
    
    * Rename command, and no need to return the bound span
    
    * Update API baseline
    andrewbranch committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    8bd7ce6 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. Configuration menu
    Copy the full SHA
    0d9a4fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0976658 View commit details
    Browse the repository at this point in the history
  3. Instead of maintaining cache id etc, reset the "working" exports map …

    …cache. (#48579)
    
    * Revert "Avoid no-op export map updates (#45238)"
    
    This reverts commit 0f6e6ef.
    
    * Need to reset currentAffectedFilesExportedModulesMap after commiting to final exports map
    sheetalkamat committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    56a4a93 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Constraints for mapped types with filtering 'as' clauses (#48699)

    * Constraints for mapped types with filtering 'as' clauses
    
    * Add regression test
    ahejlsberg committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    65f6cb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3943fc View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    6894f91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e619fd View commit details
    Browse the repository at this point in the history
  3. Ensure enum aliases referenced in other enum members do not get marke…

    …d as referenced (#48770)
    
    * Add test
    
    * Ensure enum aliases referenced in other enum members do not get marked as referenced
    andrewbranch committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    d81a976 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    ce487e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    273a567 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. If we are updating dts of any of the file and it affects global scope…

    …, everything needs update in signature and dts emit (#48600)
    
    * Add test
    
    * Renames
    
    * More refactoring
    
    * If we are updating dts of any of the file and it affects global scope, everything needs update in signature and dts emit
    Fixes #42769
    sheetalkamat committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    45faac7 View commit details
    Browse the repository at this point in the history
  2. During emit, if shape signature for the file is same as version, then…

    … update it with emitted d.ts file (#48616)
    
    * If we are writing dts file and have used file text as version, we can update the signature when doing actual emit
    
    * Make WriteFileCallback Api ready for future
    
    * Assert that there is only single source file when emitting d.ts file
    sheetalkamat committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    7a59e45 View commit details
    Browse the repository at this point in the history
  3. Handles time on vfs and write non empty shadowed files in baseline ev…

    …en if they were not read (#48703)
    
    * Use fixed time for vfs so baselining is consistent
    
    * Baseline buildinfos
    
    * Write new file text in baseline even if the file wasnt read on the shadow
    
    * Remove unnecessary debugger statement
    sheetalkamat committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    ab2523b View commit details
    Browse the repository at this point in the history
  4. Format completion snippet text before escaping (#48793)

    * Format snippet text before escaping
    
    * Reset `escapes` before printing so printer can be reused
    andrewbranch committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    7abdb9e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d71dd1d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. Configuration menu
    Copy the full SHA
    71f94c5 View commit details
    Browse the repository at this point in the history
  2. Fixed string literal completions for partially-typed strings when ove…

    …rload could get matched (#48811)
    Andarist committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    af30c79 View commit details
    Browse the repository at this point in the history
  3. Fix: verification of incremental correctness that was not working bec…

    …ause of using wrote writeFile (#48751)
    
    * Use fixed time for vfs so baselining is consistent
    
    * Baseline buildinfos
    
    * Write new file text in baseline even if the file wasnt read on the shadow
    
    * Remove unnecessary debugger statement
    
    * Make sure that incremental correctness is checked with correct writeFile so we know buildInfo was written
    Also baseline these so its easy to verify the changes
    
    * More baselines for the tsbuildinfo
    
    * Renames and test fixes after dts Signature change merge
    
    * COmment
    sheetalkamat committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    94cb657 View commit details
    Browse the repository at this point in the history
  4. Fix emit for undefined SourceFile (#48774)

    Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
    jakebailey and rbuckton committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    07660c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c99380f View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Configuration menu
    Copy the full SHA
    06fb307 View commit details
    Browse the repository at this point in the history
  2. Don't run scheduled GitHub actions on forks (#48693)

    Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
    marekdedic and typescript-bot committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    42fc05b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7920783 View commit details
    Browse the repository at this point in the history
  4. Improve support for numeric string types (#48837)

    * Improve support for numeric string types
    
    * Update test
    
    * Add tests
    ahejlsberg committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    787bb9d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Configuration menu
    Copy the full SHA
    c5f493e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b6b4dc View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Configuration menu
    Copy the full SHA
    3d3fa0c View commit details
    Browse the repository at this point in the history
  2. Add Node v18 to CI (#48824)

    * Add Node v18 to CI
    
    * Address comments
    ddzz committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    bab02d2 View commit details
    Browse the repository at this point in the history
  3. Stop tag after @callback from crashing (#48860)

    By copying the kludge in @typedef. @callback's order is simpler, so the
    kludge is simpler. However, it's wrong here, and in @typedef. Parsing
    tag comments is normally supposed to happen at the end of a tag, but in
    @callback and @typedef happens *before* parsing the nested
    @param/@Property tags.
    
    I still need to figure out what a real fix is -- but for the beta,
    copying the existing crash-avoidance kludge from @typedef is best
    anyway. I added a test case for typedefs for future use as well.
    sandersn committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    2a78b22 View commit details
    Browse the repository at this point in the history
  4. Add JS-specific diagnostic message for resolve() in Promise where t…

    …ype argument can't be inferred (#48533)
    
    * change error message on Promise
    
    * fix(46570): Unhelpful Promise type argument hint in JS file
    
    * refactor: Reword void Promise message for JSDoc type hint to provide better feedback
    
    Co-authored-by: Osa <osaimola@gmail.com>
    nicdard and osaimola committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    d45012c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    717a1be View commit details
    Browse the repository at this point in the history
  6. Eagerly resolve module specifiers for auto-import completions in `--m…

    …oduleResolution node12+` (#48752)
    
    * Add failing test
    
    * Block auto-import module specifiers including node_modules path
    
    * Eagerly resolve module specifiers in completions in nodenext so failures can be filtered
    
    * Add completion info flags for telemetry
    
    * Update API baseline
    
    * Update completions baselines
    
    * Fix missed boolean flip
    
    * Fix remaining tests
    andrewbranch committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    476fc62 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0885482 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    9b3853d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61c3bfe View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2022

  1. Configuration menu
    Copy the full SHA
    189c2b9 View commit details
    Browse the repository at this point in the history
  2. Use same error for iteration in <=ES5 (#48881)

    * Use the same error for iterating over an Iterable in ES5 or lower.
    
    * Accepted baselines.
    DanielRosenwasser committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    18b08fc View commit details
    Browse the repository at this point in the history
  3. Fix #47753 - Organize imports removes type imports that are only refe…

    …renced in @link (jsdoc) (#47824)
    
    * Added unit test
    
    * Added baseline test
    
    * Dirty solution
    
    * Code refactoring and improvements
    
    * Added more test cases
    
    * Refactor to use flatMap
    
    * Added utility function to get all Nodes with JSDocs
    
    * Minor improvements
    
    * Use recursion to check all tree levels
    
    * Removed unit test
    
    * Removed previous changes
    
    * Updated resolveEntityName call
    
    * Updated dontResolveAlias clause
    
    * Updated symbol flags
    
    * Updated baseline
    
    * Fix dont resolve alias problem
    
    * Updated tests
    komyg committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    fd06132 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    99ffa39 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2022

  1. Configuration menu
    Copy the full SHA
    7ae0988 View commit details
    Browse the repository at this point in the history
  2. LEGO: Merge pull request 48909

    LEGO: Merge pull request 48909
    csigs committed May 1, 2022
    Configuration menu
    Copy the full SHA
    eca1b45 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. Configuration menu
    Copy the full SHA
    7cb8846 View commit details
    Browse the repository at this point in the history
  2. LEGO: Merge pull request 48913

    LEGO: Merge pull request 48913
    csigs committed May 2, 2022
    Configuration menu
    Copy the full SHA
    6834969 View commit details
    Browse the repository at this point in the history
  3. Add a regression test for completion list in object literal involving…

    … inferred obj with optional members (#48910)
    Andarist committed May 2, 2022
    Configuration menu
    Copy the full SHA
    63a941d View commit details
    Browse the repository at this point in the history
  4. Fix formatter's processChildNodes (#48921)

    processChildNodes needs to skip processing when the node array is
    outside the target range, just like processChildNode already does for a
    single node.
    
    Fixes #48006
    sandersn committed May 2, 2022
    Configuration menu
    Copy the full SHA
    e73d755 View commit details
    Browse the repository at this point in the history
  5. fix(48557): Add missing JSDoc parameters (#48560)

    * Fix jsdoc of some `DataView` method.
    
    * Add author by 'Fix jsdoc of some `DataView` method'.
    
    * Fix jsdoc of some `DataView` method.
    
    change 'written' to 'read' by `getXXX` methods, and remove 'otherwise' by every method which has `littleEndian` param.
    
    * Fix jsdoc of some `DataView` method in `es2020.bigint.d.ts`.
    
    change 'written' to 'read' by `getXXX` methods, and remove 'otherwise' by every method which has `littleEndian` param.
    dev-itsheng committed May 2, 2022
    Configuration menu
    Copy the full SHA
    bb887ea View commit details
    Browse the repository at this point in the history
  6. Temporarily revert unconstrained type parameter strictness in TS 4.7 (#…

    …48923)
    
    * Revert a change around allowing unconstrained type parameters to '{}'.
    
    * Accepted baselines.
    DanielRosenwasser committed May 2, 2022
    Configuration menu
    Copy the full SHA
    3b8b207 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Don't go past import in cross-project renaming (#48758)

    * WIP
    
    * fix cross-project renaming logic
    
    * only use configure if prefix opt is defined
    
    * refactor skipAlias into stopAtAlias
    
    * fix stopAtAlias
    
    * update another stopAtAlias location
    gabritto committed May 3, 2022
    Configuration menu
    Copy the full SHA
    8f56f6b View commit details
    Browse the repository at this point in the history
  2. Fix blocking of recursive dependencies in getNarrowedTypeOfSymbol (#4…

    …8941)
    
    * Better blocking of recursive dependencies in getNarrowedTypeOfSymbol
    
    * Add regression test
    ahejlsberg committed May 3, 2022
    Configuration menu
    Copy the full SHA
    38c1460 View commit details
    Browse the repository at this point in the history
  3. Start Node ESM stable version at Node16 (#48879)

    * Remove Node12, add Node16.
    
    * Accepted baselines.
    
    * Refactor checking for top-level await, give a better error message in CJS files.
    
    * Accepted baselines.
    
    * Stop erroring on JSON module imports in node ESM since they're no longer experimental.
    
    * Accepted baselines.
    
    * More refactoring, do the same checks for for-await loops.
    
    * Accepted baselines.
    
    * Adjust phrasing to permit for-await on CJS error.
    
    * Accepted baselines.
    
    * Accepted baselines.
    
    * Fix lints.
    DanielRosenwasser committed May 3, 2022
    Configuration menu
    Copy the full SHA
    5f9c9a6 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Configuration menu
    Copy the full SHA
    9469f95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad2b7a6 View commit details
    Browse the repository at this point in the history
  3. 1 Configuration menu
    Copy the full SHA
    d337cbc View commit details
    Browse the repository at this point in the history
  4. Don’t let other completions shadow type keywords in type locations (#…

    …48939)
    
    * Allow type keywords with the same names as other completions
    
    * Only add type keywords that are the same as other completions in type locations
    andrewbranch committed May 4, 2022
    Configuration menu
    Copy the full SHA
    d879880 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c8ec855 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f579f33 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e26bc8a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d60dc1 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Skip ambient modules in globalThis (#48938)

    * Skip ambient modules in globalThis
    
    Previously, globalThis mistakenly included ambient modules, even though
    these are not values:
    
    ```ts
    declare module "ambientModule" {
      export type typ = 1
      export var val: typ
    }
    type Oops = (typeof globalThis)[\"ambientModule\"]
    ```
    
    This PR adds ambient modules to the kinds of things that are skipped
    when constructing `globalThis`' properties, along with block-scoped
    variables.
    
    * Skip only modules with every declaration ambient
    
    The modules are required to have at least one declaration so that our
    treatment of `globalThis` stays the same, and
    `globalThis.globalThis.globalThis` remains legal.
    sandersn committed May 5, 2022
    Configuration menu
    Copy the full SHA
    46e8306 View commit details
    Browse the repository at this point in the history
  2. No error on toplevel return in JS (#48874)

    * No error on toplevel return in JS
    
    Turns out it's only an error in modules.
    It's possible to keep this error on the list of "OK for JS" errors and
    make the checker code stop issuing it for JS scripts only. However, I
    don't think the error is valuable enough to do that.
    
    Fixes #48224
    
    * Restore 'return' statement.
    
    * Update Baselines and/or Applied Lint Fixes
    
    * Re-add missing baselines
    
    * No error in toplevel script files
    
    Only issue "no top-level return" error for modules, not scripts,
    regardless of whether it's TS or JS.
    
    * Keep Disallowing return in ambient locations
    
    * Allow toplevel return only in non-ESM JS files
    
    * Add test of toplevel return in JS script
    
    * Revert "Add test of toplevel return in JS script"
    
    This reverts commit 2a6dec4.
    
    * Revert "Allow toplevel return only in non-ESM JS files"
    
    This reverts commit 6291ae3.
    
    * Revert "Keep Disallowing return in ambient locations"
    
    This reverts commit 714ea8e.
    
    * Revert "No error in toplevel script files"
    
    This reverts commit 2056e13.
    
    * restore orphaned baseline
    
    Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
    Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
    3 people committed May 5, 2022
    Configuration menu
    Copy the full SHA
    650c056 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb1a8b1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e157ef View commit details
    Browse the repository at this point in the history
  5. Allow export map entries to remap back to input files for a program (#…

    …47925)
    
    * Allow export map entries to remap back to input files for a program
    
    * Fix file casing issues on windows
    
    * Implement abiguity error, doesnt quite work
    
    * Refine selection logic in error case to use getCommonSourceDirectory, add more tests
    weswigham committed May 5, 2022
    Configuration menu
    Copy the full SHA
    8e433cd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f8a09be View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4680b54 View commit details
    Browse the repository at this point in the history
  8. Harden combineProjectOutputForReferences against empty results (#48978)

    Getting an empty result doesn't seem expected, but a deeper fix doesn't make sense until #48619 is merged.
    
    Fixes #48963
    amcasey committed May 5, 2022
    Configuration menu
    Copy the full SHA
    58114cf View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. Add ES2022 Intl.Segmenter type (#48800)

    * Add `Intl.Segmenter` type
    
    * Update baseline
    
    * Fix useless generics
    
    * Fix indent size
    
    * Fix `ResolvedSegmenterOptions`
    petamoriken committed May 6, 2022
    Configuration menu
    Copy the full SHA
    4a0b083 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4765355 View commit details
    Browse the repository at this point in the history
  3. Respect importModuleSpecifierEnding inside node_modules packages (#48995

    )
    
    * Respect importModuleSpecifierEnding inside node_modules packages
    
    * Add tests for missing package.json
    andrewbranch committed May 6, 2022
    Configuration menu
    Copy the full SHA
    2ffe686 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d0393d View commit details
    Browse the repository at this point in the history
  5. Flag resolution mode assertions in non-nightly builds (#49002)

    * Flag resolution mode assertions in non-nightly builds
    
    * Add checker check
    RyanCavanaugh committed May 6, 2022
    Configuration menu
    Copy the full SHA
    1a4643b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c99b802 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    34e93a1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c13ec8 View commit details
    Browse the repository at this point in the history
  9. Update LKG.

    DanielRosenwasser committed May 6, 2022
    Configuration menu
    Copy the full SHA
    ca59c9b View commit details
    Browse the repository at this point in the history