documentalist
documentalist copied to clipboard
Do we support line numbers for TypeScript?
Hi,
I was wondering if there is a way to extract the line-numbers of the methods, classes, and interfaces. within a TypeScript file?
Thanks.
@blendsdk hmm that information is not currently provided in a friendly way but you could extract it from the sourceUrl (see #L9 at the end): https://github.com/palantir/documentalist/blob/master/src/tests/snapshots/typescript.test.ts.snap#L53
line number fields could easily be added, though!