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

[F] checkFormatCadl

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

Parameters

ParameterType
codestring
prettierConfig?Options

Returns

Promise<boolean>

Deprecated

use checkFormatTypeSpec