Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inheritDoc from signature to non-signature
- Loading branch information
Showing
4 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// TS Discord March 24 2023 bug | ||
// See https://discord.com/channels/508357248330760243/829307039447515176/1088969324770897931 | ||
|
||
export class SigRef { | ||
/** A */ | ||
method(): void; | ||
/** B */ | ||
method(x: string): string; | ||
method(x?: string) { | ||
return x; | ||
} | ||
|
||
/** C */ | ||
prop = 2; | ||
|
||
/** {@inheritDoc method} */ | ||
test1(): void; | ||
|
||
/** {@inheritDoc method} */ | ||
test1(x: string): string; | ||
test1(x?: string) { | ||
return x; | ||
} | ||
|
||
/** {@inheritDoc prop} */ | ||
test2() {} | ||
} |