Skip to content

[F] checkFormatCadl

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

Parameters

ParameterType
codestring
prettierConfig?Options

Returns

Promise<boolean>

true if code is formatted correctly.

Deprecated

use checkFormatTypeSpec