Skip to main content
Version: Next 🚧

[F] checkFormatTypeSpec

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

Check the given is correctly formatted.

Parameters

ParameterType
codestring
prettierConfig?Options

Returns

Promise<boolean>

true if code is formatted correctly.