web-component-analyzer icon indicating copy to clipboard operation
web-component-analyzer copied to clipboard

Output contains incorrect backslash in union type

Open timonson opened this issue 2 years ago • 0 comments

Hello,

the analyzer converts * @property {Record<string,Attribute>|null} attr - Custom attributes for the anchor element. to:

## Properties

| Property | Type                               | Default | Description                               |
|----------|------------------------------------|---------|-------------------------------------------|
| `attr`   | `Record<string,Attribute> \| null` | null    | Custom attributes for the anchor element. |

The backslash in the output Record<string,Attribute> \| null is wrong.

Thank you!

timonson avatar Sep 25 '23 01:09 timonson