Skip to content

Fix angular-route tests for TS 5.7 - #70783

Merged
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
sandersn:fix-angular-route-tests-for-ts5.7
Oct 3, 2024
Merged

Fix angular-route tests for TS 5.7#70783
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
sandersn:fix-angular-route-tests-for-ts5.7

Conversation

@sandersn

@sandersn sandersn commented Oct 3, 2024

Copy link
Copy Markdown
Contributor

TS 5.7 adds a missed implicit any errors in callbacks when the inferred type is any. This PR adds an explicit type to silence the implicit any error.

The new error was introduced in microsoft/TypeScript#59661

TS 5.7 adds a missed implicit any errors in callbacks when the inferred
type is `any`. This PR adds an explicit type to silence the implicit any
error.

microsoft/TypeScript#59661
@typescript-bot

typescript-bot commented Oct 3, 2024

Copy link
Copy Markdown
Contributor

@sandersn Thank you for submitting this PR!

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because you edited one package and there were no type definition changes, I can help you merge this PR once someone else signs off on it.

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

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Most recent commit is approved by type definition owners, DT maintainers or others

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": 70783,
  "author": "sandersn",
  "headCommitOid": "0aed10c4b42382eed774b5ca521e0c74f3363c3a",
  "mergeBaseOid": "24a32d6bec7e18c6a426b4ae63b1f2b508874184",
  "lastPushDate": "2024-10-03T21:44:25.000Z",
  "lastActivityDate": "2024-10-03T21:44:25.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "angular-route",
      "kind": "edit",
      "files": [
        {
          "path": "types/angular-route/angular-route-tests.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "park9140",
        "gkalpak"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [],
  "mainBotCommentID": 2392394657,
  "ciResult": "pass"
}

@typescript-bot

Copy link
Copy Markdown
Contributor

🔔 @park9140 @gkalpak — 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.

@sandersn
sandersn merged commit b6d37a5 into DefinitelyTyped:master Oct 3, 2024
@sandersn
sandersn deleted the fix-angular-route-tests-for-ts5.7 branch October 3, 2024 21:50
alino20 pushed a commit to alino20/DefinitelyTyped that referenced this pull request Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants