[F] applyCodeFixes
function applyCodeFixes(host, codeFixes): Promise<void>;Resolve all fixes and write their combined edits, grouped by source file, through the host. Edits for a file must use the same original source text and must not overlap.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
host | CompilerHost |
codeFixes | readonly CodeFix[] |
Returns
Section titled “Returns”Promise<void>