build(deps-dev): bump typescript from 6.0.3 to 7.0.2#651
Conversation
|
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>
b159167 to
be376f8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
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>
d27b0fe to
8e5b44a
Compare
zimeg
left a comment
There was a problem hiding this comment.
🌠 A few comments of the meaningful changes inline below!
| * @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. |
There was a problem hiding this comment.
🔭 note: The string value matches actual inputs that are validated later:
slack-github-action/src/config.js
Lines 164 to 175 in d27b0fe
| /** | ||
| * Provided inputs as values to be sent from content provided to the action. | ||
| * @type {any} | ||
| */ | ||
| values; |
There was a problem hiding this comment.
🔏 note: We now have explicit declaration for this values of the file1
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.