Skip to content

refactor: ts helpers api#575

Merged
Dario-DC merged 3 commits intofreeCodeCamp:mainfrom
Dario-DC:refactor-ts-helper-api
Mar 13, 2026
Merged

refactor: ts helpers api#575
Dario-DC merged 3 commits intofreeCodeCamp:mainfrom
Dario-DC:refactor-ts-helper-api

Conversation

@Dario-DC
Copy link
Copy Markdown
Contributor

@Dario-DC Dario-DC commented Mar 12, 2026

Checklist:

Closes #XXXXX

This PR refactors the methods listed below into properties to simplify the API.

Old New
getVariables() variables
getValue() value
getAnnotation() annotation
getFunctions() functions
getFunctions(true) allFunctions
getParameters() parameters
getTypeParameters() typeParameters
getTypeArguments() typeArguments
getTypes() types
getInterfaces() interfaces
getClasses() classes
getMethods() methods
getConstructor() classConstructor
getClassProps() classProps
getClassProps(true) constructorProps
getTypeProps() typeProps
getObjectProps() objectProps

@Dario-DC Dario-DC force-pushed the refactor-ts-helper-api branch from 80e9f56 to d741be5 Compare March 12, 2026 17:21
Copy link
Copy Markdown
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Dario-DC Dario-DC marked this pull request as ready for review March 12, 2026 20:22
@Dario-DC Dario-DC requested a review from a team as a code owner March 12, 2026 20:22
@Dario-DC Dario-DC merged commit 1769787 into freeCodeCamp:main Mar 13, 2026
4 checks passed
@Dario-DC Dario-DC deleted the refactor-ts-helper-api branch March 13, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants