Skip to content

[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.

ParameterType
hostCompilerHost
codeFixCodeFix

Promise<void>