Not possible to find-all-references
for export default
of anonymous type
#19122
Milestone
find-all-references
for export default
of anonymous type
#19122
TypeScript Version: 2.5.3
Code
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 toFind 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 thedefault
token inexport default
would find the references to the default export.The text was updated successfully, but these errors were encountered: