Closed
Description
TypeScript Version: 2.5.3
Code
export default function () {}
Expected behavior:
It is possible, somehow, to Find all references
of the exported anonymous function declaration.
Actual behavior:
It is not possible to Find all references
through any means other than temporarily giving the function declaration a name; or to import it from somewhere else and try to Find all references
of the imported value.
This also affects anonymous classes and anonymous expression results.
In this case, the best case behavior would be that asking to Find all references
of the default
token in export default
would find the references to the default export.