Skip to content

build(deps-dev): bump typescript from 6.0.3 to 7.0.2#651

Merged
zimeg merged 2 commits into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Jul 15, 2026
Merged

build(deps-dev): bump typescript from 6.0.3 to 7.0.2#651
zimeg merged 2 commits into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 15, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 6.0.3 to 7.0.2.

Commits
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 15, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 15, 2026 18:33
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 15, 2026
@changeset-bot

changeset-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8e5b44a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Bumps [typescript](https://github.com/microsoft/TypeScript) from 6.0.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.86%. Comparing base (3ca6997) to head (8e5b44a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #651   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files           8        8           
  Lines         725      731    +6     
=======================================
+ Hits          724      730    +6     
  Misses          1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

TypeScript 7.0.2 tightens JSDoc type resolution, surfacing errors that
6.0.3 tolerated:

- Module namespace imports used directly as types now require
  `typeof import(...)` (TS1340). Updated the `@actions/core`,
  `@slack/web-api`, and `@slack/webhook` annotations accordingly.
- The `@property {Retries}` reference pointed at a value, not a type
  (TS2304); annotated `inputs.retries` as `string` to match what
  `core.getInput` returns, with `validate()` still enforcing the enum.
- Declared `Content.values` explicitly as `any` so reassignment from
  `templatize()` and index access no longer fail under stricter
  inference (TS2322/TS2532/TS7053).

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>

@zimeg zimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🌠 A few comments of the meaningful changes inline below!

Comment thread src/config.js
* @property {boolean} payloadTemplated - If templated values are replaced.
* @property {string?} proxy - An optional proxied connection for requests.
* @property {Retries} retries - The retries method to use for failed requests.
* @property {string} retries - The retries method to use for failed requests.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🔭 note: The string value matches actual inputs that are validated later:

switch (this.inputs.retries.trim().toUpperCase()) {
case this.Retries.ZERO:
case this.Retries.FIVE:
case this.Retries.TEN:
case this.Retries.RAPID:
break;
default:
throw new SlackError(
core,
`Invalid input! An unknown "retries" value was used: ${this.inputs.retries}`,
);
}

Comment thread src/content.js
Comment on lines +15 to +19
/**
* Provided inputs as values to be sent from content provided to the action.
* @type {any}
*/
values;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🔏 note: We now have explicit declaration for this values of the file1

@zimeg
zimeg merged commit 31d473e into main Jul 15, 2026
17 checks passed
@zimeg
zimeg deleted the dependabot/npm_and_yarn/typescript-7.0.2 branch July 15, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant