Skip to content

refactor: ts helpers api#575

Open
Dario-DC wants to merge 3 commits intofreeCodeCamp:mainfrom
Dario-DC:refactor-ts-helper-api
Open

refactor: ts helpers api#575
Dario-DC wants to merge 3 commits intofreeCodeCamp:mainfrom
Dario-DC:refactor-ts-helper-api

Conversation

@Dario-DC
Copy link
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
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
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