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

Divergent property names in TypeKindMap (serialization/schema.d.ts) #2100

Closed
niekvb opened this issue Nov 12, 2022 · 2 comments
Closed

Divergent property names in TypeKindMap (serialization/schema.d.ts) #2100

niekvb opened this issue Nov 12, 2022 · 2 comments
Labels
bug Functionality does not match expectation
Milestone

Comments

@niekvb
Copy link

niekvb commented Nov 12, 2022

Expected Behavior

Expected names of properties template-literal and named-tuple-member to be written in camelCase.

Or alternatively, indexedAccess and typeOperator to be written in snake_case.

Actual Behavior

Two types of notations within the same object.

Steps to reproduce the bug

  • npm i typedoc.
  • Check dist/lib/serialization/schema.d.ts:82.

Environment

  • Typedoc version: 0.23.20
@niekvb niekvb added the bug Functionality does not match expectation label Nov 12, 2022
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Nov 13, 2022

Yeah, an unfortunate side effect of multiple authors several years apart. I'd rather go the camel case direction, likely as a part of 0.24.

@niekvb
Copy link
Author

niekvb commented Nov 13, 2022

Just (or not even) a minor issue, but it will cause breaking changes if fixed in a future version.

@Gerrit0 Gerrit0 added this to the v0.24 milestone Mar 11, 2023
@Gerrit0 Gerrit0 closed this as completed in 2b296f6 Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

2 participants