Skip to content

[F] formatTypeSpec

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

Parameters

ParameterType
codestring
prettierConfig?Options

Returns

Promise<string>