We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
return fields properties
Input:
export function foo() { const x = { /** * This one is fine. */ a: 1, }; return { /** * This one is missing. */ x, }; }
Output:
Includes both comments.
The This one is missing. comment is not included.
This one is missing.
But note that TypeScript has no problem generating a correct declaration file with the comment:
export declare function foo(): { /** * This one is missing. */ x: { /** * This one is fine. */ a: number; }; };
As shown above.
The text was updated successfully, but these errors were encountered:
Add a test for #2587, fix testcase helper
6933e62
I actually noticed + fixed this when investigating #2582, it's fixed in the latest beta
Sorry, something went wrong.
No branches or pull requests
Search terms
return fields properties
Expected Behavior
Input:
Output:
Includes both comments.
Actual Behavior
The
This one is missing.
comment is not included.But note that TypeScript has no problem generating a correct declaration file with the comment:
Steps to reproduce the bug
As shown above.
Environment
The text was updated successfully, but these errors were encountered: