Skip to content

Conversation

@sandersn
Copy link
Contributor

Based on microsoft/TypeScript#55638 (comment)

Extracts the conditional type into a separate type alias. Cheaper to compile and arguably easier to read.

Based on microsoft/TypeScript#55638 (comment)

Extracts the conditional type into a separate type alias. Cheaper to
compile and arguably easier to read.
@typescript-bot
Copy link
Contributor

typescript-bot commented Sep 12, 2023

@sandersn Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR can be merged once it's reviewed by a DT maintainer.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Only a DT maintainer can approve changes without tests

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 66682,
  "author": "sandersn",
  "headCommitOid": "1b02549349bc88684d4e5f777ecc003d37f5d985",
  "mergeBaseOid": "cf80fa7c0d442fc70b6ee2c46eb5ea65174fde04",
  "lastPushDate": "2023-09-12T23:31:38.000Z",
  "lastActivityDate": "2023-09-12T23:43:28.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "raphael",
      "kind": "edit",
      "files": [
        {
          "path": "types/raphael/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "CheCoxshall",
        "blutorange"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "blutorange",
      "date": "2023-09-12T23:43:28.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 1716675287,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label Sep 12, 2023
@typescript-bot
Copy link
Contributor

🔔 @CheCoxshall @blutorange — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

Copy link
Contributor

@blutorange blutorange left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about the performance gains, but since you are working on the TS compiler, I am sure you know better than me.

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Sep 12, 2023
@sandersn sandersn merged commit ac64e79 into master Sep 12, 2023
@sandersn sandersn deleted the refactor-raphael-for-performance branch September 12, 2023 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Owner Approved A listed owner of this package signed off on the pull request. Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants