Skip to content

Why do setters use Args extends unknown[] and ...args: Args for their types when you only pass one value? #2523

Unanswered
AriaFallah asked this question in Q&A
Discussion options

You must be logged in to vote

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@AriaFallah
Comment options

AriaFallah Apr 26, 2024
Author Sponsor

@dai-shi
Comment options

@dai-shi
Comment options

@AriaFallah
Comment options

AriaFallah Apr 26, 2024
Author Sponsor

@dai-shi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants