Closed
Description
TypeScript Version: master (60986ad)
Search Terms: "expected" "type arguments but got"
Code
function f<A, B = {}>(arg: number) {}
f<number>();
Expected behavior: Error: Expected 1 arguments, but got 0.
Actual behavior: Error: Expected 1-2 type arguments, but got 1.
Playground Link: link
Related Issues: #19374