[api-extractor] Handling excerptTokens with curly braces #1249
Labels
bug
Something isn't working as intended
effort: easy
Probably a quick fix. Want to contribute? :-)
help wanted
If you're looking to contribute, this issue is a good place to start!
Api-extractor doesn't seem to correctly handle the case in which an extends block has open and closed curly braces within it. For example, take an interface with the following declaration:
Since
nodeToStopAt
is defined as '{' for interfaces, the excerptTokens written to the api.json file end at '&', instead of after '>'.In addition, the extendsTokenRanges in the api.json file we're getting for this interface look a little strange:
The text was updated successfully, but these errors were encountered: