dsherret / dsherret/ts-morph

`hasQuestionToken` of Anonymous Type

Open
#1,235 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.