semantic: function declaration of type `TSDeclareFunction` doesn't have a symbol_id
kermanx opened this issue · comments
declare let a; // Has symbol
declare function f(): any // No Symbol
declare function g(): any {} // No Symbol
function h(): any // No Symbol
Not sure if this is intentional 🥹
My expectation:
declare function f(): any // Has Symbol
declare function g(): any {} // Has Symbol
function h(): any // Has Symbol
function overloaded(): undefined // No Symbol
function overloaded(a: number): number // No Symbol
function overloaded(a?: number): number | undefined {} // Has Symbol