Description
I was trying to document the following class:
https://github.com/JCMais/node-libcurl/blob/397120ecc54d804eddc34d83b0e1c286abc08fd9/lib/Curl.ts#L83
Which has an augmentation using an Interface below itself:
https://github.com/JCMais/node-libcurl/blob/397120ecc54d804eddc34d83b0e1c286abc08fd9/lib/Curl.ts#L509
This module also exports another symbol called curl
:
https://github.com/JCMais/node-libcurl/blob/397120ecc54d804eddc34d83b0e1c286abc08fd9/lib/curlFn.ts#L154
I found two problems:
-
The
Curl
class would generate a filenode-libcurl.curl.md
, but thecurl
variable above also generates a file with the same name, so the one for the Class is overwritten. -
If I rename the
curl
function to something else, thenode-libcurl.curl.md
now mentions theCurl
Interface, and not theCurl
class which I expected it would, since the declarations are merged.
Am I having wrong expectations here? The Curl
interface was needed to generate better type hints for the library users, but looks like it's causing some trouble. Is there any workaround?
The curl
function I suppose I will need to rename to something else, since the files will always have the same name.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status