`hasQuestionToken` of Anonymous Type
Open
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
Like https://github.com/dsherret/ts-morph/issues/559, but for an Anonymous Type:
```ts
if (type.isAnonymous()) {
type.getApparentProperties().map(prop => {
// prop.hasQuestionToken() ?
});
}
```
Contributor guide
Research direction
Start with the type.isAnonymous() and getApparentProperties() entry points shown in the issue, then compare the requested behavior with the related issue #559. Done means anonymous-type apparent properties expose the requested hasQuestionToken() behavior, with tests covering the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100