Generates a TypeScript type from a top-level NBTSchema or NBTSchemaFragment.
The schema object to convert.
The name of the type.
Options for the conversion.
The TypeScript type string.
Add support for oneOf, anyOf, allOf, not, patternProperties, and $ref.
oneOf
anyOf
allOf
not
patternProperties
$ref
pattern, deprecationMessage, multipleOf, and uniqueItems should add a TSDoc comment.
pattern
deprecationMessage
multipleOf
uniqueItems
Add support for using the title property on items of lists for their labels in their tuple types.
title
Generates a TypeScript type from a top-level NBTSchema or NBTSchemaFragment.