Skip to content

[api-extractor] Unexpected character after link destination. #3787

Closed
@Luxcium

Description

@Luxcium

Summary

I would like to be able to use the same characters as defined in the ECMA 262 Standard section 12.6.1 Identifier Names but I get the following error message because the name of my functions contain Greeks Letters i.e. {@link awaitedMapping_α}

Repro steps

/**
 * A library for mapping tools.
 *
 * @remarks
 * The `@luxcium/mapping-tools` library defines 5 core functions used to map on iterables with different outcomes in mind
 * {@link awaitedMapping_α}, {@link generateMappingAsync_α}, {@link generateMapping_ς},
 * {@link paralellMapping_ς} and {@link serialMapping_α} 
 *
 * @packageDocumentation
 */

Actual result:
Expecting to see the error message disappear...

Screenshot_000001_20221128_124010

Details

12.6 Names and Keywords (From ECMA-262, 13th edition ― 2022)

IdentifierName and ReservedWord are tokens that are interpreted according to the Default Identifier Syntax given in Unicode Standard Annex #31, Identifier and Pattern Syntax, with some small modifications. ReservedWord is an enumerated subset of IdentifierName. The syntactic grammar defines Identifier as an IdentifierName that is not a ReservedWord. The Unicode identifier grammar is based on character properties specified by the Unicode Standard. The Unicode code points in the specified categories in the latest version of the Unicode Standard must be treated as in those categories by all conforming ECMAScript implementations. ECMAScript implementations may recognize identifier code points defined in later editions of the Unicode Standard.

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/api-extractor version? 7.33.6
Operating system? Linux x64 5.15.0-50-generic
Would you consider contributing a PR? no
TypeScript compiler version? 4.9.3
Node.js version (node -v)? 18.12.1
Version: 1.73.1
Commit: 6261075646f055b99068d3688932416f2346dd3b
Date: 2022-11-09T03:54:53.913Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-50-generic
Sandboxed: No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions