[F] checkFormatTypeSpec
function checkFormatTypeSpec(code, prettierConfig?): Promise<boolean>;
Check the given is correctly formatted.
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
code | string |
prettierConfig? | Options |
Returns
Section titled “Returns”Promise
<boolean
>
true if code is formatted correctly.