Skip to main content
Version: Latest (0.60.x)

[F] formatTypeSpec

function formatTypeSpec(code, prettierConfig?): Promise<string>

Parameters

ParameterType
codestring
prettierConfig?Options

Returns

Promise<string>