function test(a: string, b?: number, c="default") {} function test2(a: A, b: B, c: C) {}