[F] applyCodeFix
function applyCodeFix(host, codeFix): Promise<void>;Resolve a fix and write its edits using the source text retained in each edit’s source file.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
host | CompilerHost |
codeFix | CodeFix |
Returns
Section titled “Returns”Promise<void>