# README
tsgen
tsgen is devtool to generate dummy typescript code for goja node modules written in golang. These generated typescript code can be compiled to generate .d.ts files to provide intellisense to editors like vscode and documentation for the node modules.
# Packages
No description provided by the author
# Functions
ConvertExtObjectToEntities recursively converts an ExtObject to a list of Entity objects.
NewEntityParser creates a new EntityParser.
Ternary is a ternary operator for strings.
No description provided by the author
# Structs
Class represents a TypeScript class data structure.
Define a struct to hold information about your TypeScript entities.
EntityParser is responsible for parsing a go file and generating corresponding typescript entities.
No description provided by the author
Function represents a TypeScript function data structure If CanFail is true, the function returns a Result<T, E> type So modify the function signature to return a Result<T, E> type in this case.
No description provided by the author
Method represents a TypeScript method data structure If CanFail is true, the method returns a Result<T, E> type So modify the method signature to return a Result<T, E> type in this case.
Parameter represents function or method parameter.
Property represent class or object property.