APIReference

Displays type documentation for all types exported from a file path or types related to a collection export source.

API Reference

APIReference

(props: APIReferenceProps) => JSX.Element

Displays type documentation for all types exported from a file path or types related to a collection export source.

Parameters
APIReferenceProps
Returns
Element

APIReferenceProps

APIReferenceProps
Properties

source *

string

The file path to the source code.

workingDirectory

string | undefined

The working directory to resolve the file path from. Will use the base URL if a URL is provided.

filter

SymbolFilter | undefined

A filter to apply to the exported types.

Properties

source *

ExportSource<any> | FileSystemSource<any> | JavaScriptFile<any> | JavaScriptFileExport<any, ExtensionType, string>

The export source from a collection export source to get types from.

filter

SymbolFilter | undefined

A filter to apply to the exported types.