How does typescript make generics mandatory? #6904
Replies: 1 comment
-
@laterdayi it looks like you're trying to ask for help on TypeScript in general? This isn't the place for that. You might want to ask in the TypeScript Discord. Related: #6901. It's generally bad practice to file duplicates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
export const test = <T>(a:string,{c,d} = {c: T[], D:T} = {})=>{}
test() ok
test() ok
test() error
Beta Was this translation helpful? Give feedback.
All reactions