Skip to main content

Function: tsToSchema()

tsToSchema(config, outputFolder, workingDirectory): Promise<void>

Convert the TypeScript definitions to JSON Schemas.

Parameters

config

ITsToSchemaConfig

The configuration for the app.

outputFolder

string

The location of the folder to output the JSON schemas.

workingDirectory

string

The folder the app was run from.

Returns

Promise<void>