-
Notifications
You must be signed in to change notification settings - Fork 6
chore(deps): bump @types/node from 22.15.30 to 26.1.0 #2926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,7 +120,7 @@ export class GuStack extends Stack implements StackStageIdentity { | |
| return this.node | ||
| .findAll() | ||
| .filter((construct) => construct instanceof CfnParameter) | ||
| .reduce((acc, param) => ({ ...acc, [param.node.id]: param as CfnParameter }), {}); | ||
| .reduce((acc, param) => ({ ...acc, [param.node.id]: param }), {}); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @akash1810 upgrading the typescript version has been on our radar for a while (https://app.asana.com/1/1210045093164357/project/1214113788426225/task/1214114210834985) I had a go with an AI agent and it appears the code change we need is a nice simplification: we no longer need to cast these types. What do you reckon? Is a green CI build here sufficient to know it's good? Can this cause problems to clients or anything like that?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh perfect! Removing this cast is preferable; the function's return type should be enough as should the |
||
| } | ||
|
|
||
| // eslint-disable-next-line custom-rules/valid-constructors -- GuStack is the exception as it must take an App | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.