dsherret / dsherret/ts-morph

How do I get a single line comment

Open
#1,482 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

like this
`export enum LogisticsUpdateLogRecordReason {
Reprint = 1, //Reprint
Reship = 2, //reship
}`
How do I get 【//Reprint】

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reproducing the enum example and tracing how ts-morph exposes source comments; done means determining whether the requested single-line comment can be retrieved and documenting the relevant behavior or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.