Skip to content

Conversation

mydea
Copy link
Member

@mydea mydea commented Nov 26, 2024

This refactors google-cloud-serverless to avoid some any in types. Since these are kind-of public, although this is extremely unlikely to affect anybody (because we mostly replace any with unknown which should also accept anything, basically), we'll still only merge this for v9.

Extracted out of #14463

@mydea mydea added this to the 9.0.0 milestone Nov 26, 2024
@mydea mydea requested review from AbhiPrasad and Lms24 November 26, 2024 08:17
@mydea mydea self-assigned this Nov 26, 2024
Copy link
Member

Choose a reason for hiding this comment

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

I gotta admit my concern with the function signature change wasn't the change from any to unknown for data but the change in the return value form any to void. However, TIL that TS doesn't complain about actually returning a value in a void return typed function. So technically we still should merge this only in v9 I guess. Anyway, thanks for extracting!

@mydea mydea closed this Mar 17, 2025
@mydea mydea deleted the fn/gcp-types-v9 branch March 17, 2025 08:56
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