ts-morph icon indicating copy to clipboard operation
ts-morph copied to clipboard

`hasQuestionToken` of Anonymous Type

Open Menci opened this issue 2 years ago • 0 comments

Like https://github.com/dsherret/ts-morph/issues/559, but for an Anonymous Type:

if (type.isAnonymous()) {
  type.getApparentProperties().map(prop => {
    // prop.hasQuestionToken() ?
  });
}

Menci avatar Dec 29 '21 10:12 Menci