function a(x?: string = "test") {} function b(...rest: string[] = "init") {} function c(...rest, b: string) {}