[F] checkFormatCadl
function checkFormatCadl(code, prettierConfig?): Promise<boolean>Parameters
| Parameter | Type |
|---|---|
code | string |
prettierConfig? | Options |
Returns
Promise<boolean>
true if code is formatted correctly.
Deprecated
use checkFormatTypeSpec
function checkFormatCadl(code, prettierConfig?): Promise<boolean>| Parameter | Type |
|---|---|
code | string |
prettierConfig? | Options |
Promise<boolean>
true if code is formatted correctly.
use checkFormatTypeSpec