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