--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: valid-duplicate.ts --- # Input ```ts const obj = { a: 1, a: 2, }; function f(x: number, x: number): void {} class A { g(x: number): number; g(x: string): string; g(x: number | string): number | string { return x; } f(): void {} f(): void {} } ```