Skip to content

chore(deps): update dependency @total-typescript/ts-reset to ^0.6.0#67015

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/total-typescript-ts-reset-0.x
Closed

chore(deps): update dependency @total-typescript/ts-reset to ^0.6.0#67015
renovate[bot] wants to merge 1 commit intomainfrom
renovate/total-typescript-ts-reset-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 20, 2026

This PR contains the following updates:

Package Change Age Confidence
@total-typescript/ts-reset (source) ^0.5.0^0.6.0 age confidence

Release Notes

total-typescript/ts-reset (@​total-typescript/ts-reset)

v0.6.1

Patch Changes
  • 757be40: Fixed a bug where creating an empty map would no longer infer types correctly.

v0.6.0

Minor Changes
  • 6574858: Added a rule, /map-constructor, to default Map to Map<unknown, unknown> when no arguments are passed to the constructor.

    Before, you'd get any for both key and value types. Now, the result of Map.get is unknown instead of any:

    const userMap = new Map();
    
    const value = userMap.get("matt"); // value: unknown

    This now is part of the recommended rules.

  • 5bf3a15: Added a rule, /promise-catch, to change the catch method to take unknown instead of any as an argument.

    const promise = Promise.reject("error");
    
    // BEFORE
    
    promise.catch((error) => {
      console.error(error); // error is any!
    });
    
    // AFTER
    
    promise.catch((error) => {
      console.error(error); // error is unknown!
    });
Patch Changes
  • 53cee4f: author: @​none23

    Fixed a bug where running .filter on a union of arrays would not work.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate Only to be used by the bot to label automated PRs from renovate label Apr 20, 2026
@renovate renovate bot requested a review from a team as a code owner April 20, 2026 06:01
@github-actions github-actions bot added the platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. label Apr 20, 2026
@renovate renovate bot force-pushed the renovate/total-typescript-ts-reset-0.x branch from 6140608 to 9813563 Compare April 20, 2026 12:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2026
@renovate renovate bot deleted the renovate/total-typescript-ts-reset-0.x branch April 20, 2026 14:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. renovate Only to be used by the bot to label automated PRs from renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant