TL schema
Additional parameters
Optional
forIdComputation?: booleanWhether this invocation is for computing constructor ids.
If true, the id
field will be set to 0 for all entries.
Optional
onError?: (err: Error, line: string, num: number) => voidFunction to be called if there was an error while parsing a line
Optional
onOrphanComment?: (comment: string) => voidFunction to be called a comment is found not belonging to any entry
Optional
panicOnError?: booleanWhether to throw an error if a line failed to parse
Optional
parseMethodTypes?: booleanWhether to parse typeModifiers for method return types
Optional
prefix?: stringPrefix to be applied to all types
Parse TL schema into a list of entries.