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
missing optional, mapped types
When TypeDoc is given the following to document, it says the type of Test is { x: 1 | undefined } instead of { x?: 1 | undefined }
Test
{ x: 1 | undefined }
{ x?: 1 | undefined }
declare function buildObj<T>(x: T): { [K in keyof T]?: 1; }; export const Test = buildObj({ x: 1 });
This happens with exactOptionalPropertyTypes both on and off.
exactOptionalPropertyTypes
The text was updated successfully, but these errors were encountered:
d2057a1
No branches or pull requests
Search terms
missing optional, mapped types
Bug
When TypeDoc is given the following to document, it says the type of
Test
is{ x: 1 | undefined }
instead of{ x?: 1 | undefined }
This happens with
exactOptionalPropertyTypes
both on and off.Environment
The text was updated successfully, but these errors were encountered: