Remove obsolte ts namespace
This commit is contained in:
parent
e6e71978df
commit
de7faa1b7e
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ namespace ts.codefix {
|
||||||
|
|
||||||
function tryDeleteParameter(changes: textChanges.ChangeTracker, sourceFile: SourceFile, p: ParameterDeclaration, checker: TypeChecker, sourceFiles: ReadonlyArray<SourceFile>, isFixAll: boolean): void {
|
function tryDeleteParameter(changes: textChanges.ChangeTracker, sourceFile: SourceFile, p: ParameterDeclaration, checker: TypeChecker, sourceFiles: ReadonlyArray<SourceFile>, isFixAll: boolean): void {
|
||||||
if (mayDeleteParameter(p, checker, isFixAll)) {
|
if (mayDeleteParameter(p, checker, isFixAll)) {
|
||||||
const privateModifier = ts.findModifier(p, ts.SyntaxKind.PrivateKeyword);
|
const privateModifier = findModifier(p, SyntaxKind.PrivateKeyword);
|
||||||
if (privateModifier) {
|
if (privateModifier) {
|
||||||
changes.deleteModifier(sourceFile, p.modifiers![0]);
|
changes.deleteModifier(sourceFile, p.modifiers![0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue