Skip to content

[F] checkFormatTypeSpec

function checkFormatTypeSpec(code, prettierConfig?): Promise<boolean>;

Check the given is correctly formatted.

ParameterType
codestring
prettierConfig?Options

Promise<boolean>

true if code is formatted correctly.