typescript-tools.nvim icon indicating copy to clipboard operation
typescript-tools.nvim copied to clipboard

code_lens references not working on function declarations

Open Gnarus-G opened this issue 1 year ago • 0 comments

I intend to reopen issue #184 with this.

I found the problem is with function declarations.

// Will not show references
export function Testing() {
  return <div>{null}</div>;
}

// Will show references
export const Testing2 = () => {
  return <div>{null}</div>;
};

Gnarus-G avatar Mar 25 '24 15:03 Gnarus-G