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: v5.5.3
Choose a base ref
...
head repository: microsoft/TypeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c8a7d589e647e19c94150d9892909f3aa93e48eb
Choose a head ref

Commits on Jul 16, 2024

  1. 🤖 Pick PR #59300 (Verify that perf_hooks result actua...) into releas…

    …e-5.5 (#59301)
    
    Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
    TypeScript Bot and jakebailey authored Jul 16, 2024
    Copy the full SHA
    d5434c8 View commit details
  2. 🤖 Pick PR #59285 (Fix captured shorthand properties i...) into releas…

    …e-5.5 (#59288)
    
    Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
    TypeScript Bot and jakebailey authored Jul 16, 2024
    Copy the full SHA
    6c7df1f View commit details
  3. 🤖 Pick PR #59154 (Create a SourceFile-level indirec...) into releas…

    …e-5.5 (#59211)
    
    Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
    TypeScript Bot and DanielRosenwasser authored Jul 16, 2024
    Copy the full SHA
    e28a76c View commit details
  4. 🤖 Pick PR #59163 (fix: fix the return type of Int8Arr...) into releas…

    …e-5.5 (#59197)
    
    Co-authored-by: Hideaki Noshiro <46040697+noshiro-pf@users.noreply.github.com>
    TypeScript Bot and noshiro-pf authored Jul 16, 2024
    Copy the full SHA
    16862b1 View commit details
  5. 🤖 Pick PR #59203 (Skip ID inference errors on nodes c...) into releas…

    …e-5.5 (#59210)
    
    Co-authored-by: Wesley Wigham <wwigham@gmail.com>
    TypeScript Bot and weswigham authored Jul 16, 2024
    Copy the full SHA
    326cb1f View commit details
  6. 🤖 Pick PR #59207 (Fixed crash when finding all refere...) into releas…

    …e-5.5 (#59209)
    
    Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
    TypeScript Bot and Andarist authored Jul 16, 2024
    Copy the full SHA
    309a93c View commit details
  7. 🤖 Pick PR #59232 (Fixed regression in reverse mapped ...) into releas…

    …e-5.5 (#59258)
    
    Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
    TypeScript Bot and Andarist authored Jul 16, 2024
    Copy the full SHA
    0d4ffed View commit details
  8. 🤖 Pick PR #59121 (Fixed regression in signature insta...) into releas…

    …e-5.5 (#59204)
    
    Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
    TypeScript Bot and Andarist authored Jul 16, 2024
    Copy the full SHA
    cf167db View commit details
  9. Copy the full SHA
    afe1c32 View commit details
  10. 🤖 Pick PR #59285 (Fix captured shorthand properties i...) into releas…

    …e-5.5 (#59307)
    
    Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
    TypeScript Bot and jakebailey authored Jul 16, 2024
    Copy the full SHA
    315f9f9 View commit details
  11. 🤖 Pick PR #59195 (Added affectsSourceFile to importHe...) into releas…

    …e-5.5 (#59231)
    
    Co-authored-by: Armando Aguirre <armando.aguirre@microsoft.com>
    TypeScript Bot and armanio123 authored Jul 16, 2024
    Copy the full SHA
    3a7983a View commit details
  12. 🤖 Pick PR #59193 (Mark jsxFactorySymbol as referenc...) into releas…

    …e-5.5 (#59225)
    
    Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
    TypeScript Bot and andrewbranch authored Jul 16, 2024
    Copy the full SHA
    fea13dd View commit details
  13. 🤖 Pick PR #59110 (Fixed a regression in declaration e...) into releas…

    …e-5.5 (#59206)
    
    Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
    TypeScript Bot and Andarist authored Jul 16, 2024
    Copy the full SHA
    e809c04 View commit details
  14. Copy the full SHA
    c4108b6 View commit details
  15. 🤖 Pick PR #59026 (fix(59011): TypeScript generates in...) into releas…

    …e-5.5 (#59039)
    
    Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
    TypeScript Bot and a-tarasyuk authored Jul 16, 2024
    Copy the full SHA
    a0a3a79 View commit details
  16. 🤖 Pick PR #59137 (visitNodesWithoutCopyingPositions...) into releas…

    …e-5.5 (#59179)
    
    Co-authored-by: Isabel Duan <isabelduan@microsoft.com>
    TypeScript Bot and iisaduan authored Jul 16, 2024
    Copy the full SHA
    381e609 View commit details
  17. 🤖 Pick PR #59215 (Fix codefix crash on circular alias...) into releas…

    …e-5.5 (#59224)
    
    Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
    TypeScript Bot and andrewbranch authored Jul 16, 2024
    Copy the full SHA
    8794318 View commit details

Commits on Jul 17, 2024

  1. Copy the full SHA
    1109550 View commit details
  2. 🤖 Pick PR #59325 (Don't skip markLinkedReferences on ...) into releas…

    …e-5.5 (#59336)
    
    Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
    TypeScript Bot and jakebailey authored Jul 17, 2024
    Copy the full SHA
    f35206d View commit details
  3. 🤖 Pick PR #59160 (Fixed crash on authored import type...) into releas…

    …e-5.5 (#59226)
    
    Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
    TypeScript Bot and Andarist authored Jul 17, 2024
    Copy the full SHA
    a44e2d9 View commit details
  4. 🤖 Pick PR #59070 (Delay the calculation of common sou...) into releas…

    …e-5.5 (#59072)
    
    Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
    TypeScript Bot and sheetalkamat authored Jul 17, 2024
    Copy the full SHA
    bf0ddaf View commit details

Commits on Jul 18, 2024

  1. Copy the full SHA
    9dd6f91 View commit details

Commits on Jul 19, 2024

  1. 🤖 Pick PR #59337 (Allow declarationMap to be emitted ...) into releas…

    …e-5.5 (#59344)
    
    Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
    TypeScript Bot and sheetalkamat authored Jul 19, 2024
    Copy the full SHA
    b075332 View commit details
  2. 🤖 Pick PR #59208 (Write non-missing undefined on mapp...) into releas…

    …e-5.5 (#59230)
    
    Co-authored-by: Wesley Wigham <wwigham@gmail.com>
    Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
    3 people authored Jul 19, 2024
    Copy the full SHA
    5ba41e2 View commit details

Commits on Jul 22, 2024

  1. 🤖 Pick PR #58771 (Allow references to the global Symb...) into releas…

    …e-5.5 (#59378)
    
    Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
    TypeScript Bot and weswigham authored Jul 22, 2024
    Copy the full SHA
    c0ded04 View commit details
  2. Copy the full SHA
    c8a7d58 View commit details
Showing 373 changed files with 9,122 additions and 2,689 deletions.
31 changes: 11 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -29,15 +29,15 @@ jobs:
- windows-latest
- macos-14
node-version:
- '22'
- '22.4.x'
- '20'
- '18'
- '16'
- '14'
bundle:
- 'true'
include:
- node-version: '*'
- node-version: 'lts/*'
bundle: false
os: ubuntu-latest
exclude:
@@ -76,8 +76,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: npm ci

- name: Linter
@@ -90,8 +89,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: npm ci

- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
@@ -111,8 +109,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: npm ci

- name: Installing browsers
@@ -128,8 +125,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: npm ci

- name: Build src
@@ -143,8 +139,7 @@ jobs:

- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: |
npm --version
# corepack enable npm
@@ -192,8 +187,7 @@ jobs:

- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: |
npm --version
# corepack enable npm
@@ -226,8 +220,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: npm ci

- name: Build scripts
@@ -243,8 +236,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: npm ci

- name: Build tsc
@@ -263,8 +255,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: npm ci

- name: Remove all baselines
3 changes: 1 addition & 2 deletions .github/workflows/update-package-lock.yaml
Original file line number Diff line number Diff line change
@@ -27,8 +27,7 @@ jobs:
token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
node-version: 'lts/*'
- run: |
npm --version
# corepack enable npm
10 changes: 5 additions & 5 deletions lib/lib.es2023.array.d.ts
Original file line number Diff line number Diff line change
@@ -203,19 +203,19 @@ interface Int8Array {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Uint8Array;
toReversed(): Int8Array;

/**
* Copies and sorts the array.
* @param compareFn Function used to determine the order of the elements. It is expected to return
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Uint8Array.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
* const myNums = Int8Array.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Int8Array(4) [1, 2, 11, 22]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Uint8Array;
toSorted(compareFn?: (a: number, b: number) => number): Int8Array;

/**
* Copies the array and inserts the given number at the provided index.
@@ -224,7 +224,7 @@ interface Int8Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Uint8Array;
with(index: number, value: number): Int8Array;
}

interface Uint8Array {
Loading