Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For TypeStrong/typedoc#2033 #19

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
41 changes: 40 additions & 1 deletion src/index.ts
@@ -1,4 +1,43 @@
/**
* Some code reproducing a bug.
*/
export const bug = 123;
declare namespace SameNameClassNamespace {
/**
* This causes an error even though it's relatively correct: {@link AnotherInterface}
*/
export interface AnInterface {

}

/**
* Some documentation
*/
export interface AnotherInterface {

}
}

/*
* The error goes away in three ways:
* - Comment out the below class
* - Comment out the below interface
* - Even stranger: Make this comment a TSDoc comment (add extra * to beggining of comment),
* which will apply to the class.
* - This may be a workable workaround
*/


declare class SameNameClassNamespace {

}

/**
* This interface is used to augment additional keys (from AnInterface) onto SameNameClassNamespace
*/
interface SameNameClassNamespace extends SameNameClassNamespace.AnInterface {

}

export {
SameNameClassNamespace
};