Skip to content

[F] createAddDecoratorCodeFix

function createAddDecoratorCodeFix(
diagnosticTarget,
name,
args?): CodeFix;

Create a codefix to add a decorator at the target location.

ParameterTypeDescription
diagnosticTargetDiagnosticTargetDiagnostic target
namestring-
args?string[]-

CodeFix