dsherret / dsherret/ts-morph

Question: How do I find references of `default` in `export default <CallExpression>`?

Open
#1,439 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

```TypeScript
import Axios from "axios"

export default Axios.create({
baseURL: "",
headers: { "Content-Type": "application/json" },
})
```

Contributor guide

Open the contributing guide

Research direction

The issue names no repository file, test, or entry point, and only provides a TypeScript example using export default with a CallExpression. Start by locating ts-morph's AST navigation for this construct; done would require a documented, reproducible way to find the default export reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.