OptionalconfigOptionalhashOptionalmaxMaximum number of GraphResult.errors entries returned. When truncated, the final entry is a deterministic sentinel. Set to 0 to omit errors.
OptionalnodeMaximum prefix length of GraphNode.description (TS/JS only).
When truncated, ASCII ... is appended (not counted in the prefix limit).
Set to 0 to omit descriptions.
OptionalnodeWhich TSDoc tags are considered when deriving descriptions (TS/JS only).
Tags MUST include the @ prefix and match ^@\\w+$.
Defaults to ['@module', '@packageDocumentation'].
OptionalpreviousOptionaltypescriptInjected TypeScript module instance to use for TS/JS analysis.
This package does not attempt to resolve TypeScript implicitly. Callers MUST
provide either typescript or typescriptPath.
OptionaltypescriptAbsolute path to a TypeScript entry module to load (for example, the result
of require.resolve('typescript') from the host environment).
This is intended for hosts that want to control the TypeScript source deterministically (stan-cli, IDE SDK, web service, etc.).
Policy for enforcing the invariant: if
metadata.hashis present for a file node,metadata.sizeshould also be present.Default:
'warn'.