--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: validFunctions.ts --- # Input ```ts /* should not generate diagnostics */ // used function declaration function a() {} a(); // we never flag function expressions (function f() {}) // overloaded functions function add(a: string, b: string): string; function add(a: number, b: number): number; function add(a: any, b: any): any { return a + b; } add(1, 1); function id(a = id(null)) { return a } ```