Skip to content

Commit de7faa1

Browse files
committed
Remove obsolte ts namespace
1 parent e6e7197 commit de7faa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/codefixes/fixUnusedIdentifier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ namespace ts.codefix {
200200

201201
function tryDeleteParameter(changes: textChanges.ChangeTracker, sourceFile: SourceFile, p: ParameterDeclaration, checker: TypeChecker, sourceFiles: ReadonlyArray<SourceFile>, isFixAll: boolean): void {
202202
if (mayDeleteParameter(p, checker, isFixAll)) {
203-
const privateModifier = ts.findModifier(p, ts.SyntaxKind.PrivateKeyword);
203+
const privateModifier = findModifier(p, SyntaxKind.PrivateKeyword);
204204
if (privateModifier) {
205205
changes.deleteModifier(sourceFile, p.modifiers![0]);
206206
}

0 commit comments

Comments
 (0)