Fix linting
This commit is contained in:
parent
b00fa42dea
commit
94c3d27f41
2 changed files with 4 additions and 4 deletions
|
@ -428,14 +428,14 @@ namespace ts {
|
|||
}
|
||||
// return undefined if we can't find a symbol.
|
||||
}
|
||||
|
||||
|
||||
function getSymbolOfParameterPropertyDeclaration(parameter: ParameterDeclaration, parameterName: string): Symbol[] {
|
||||
const constructoDeclaration = parameter.parent;
|
||||
const classDeclaration = parameter.parent.parent;
|
||||
|
||||
|
||||
const parameterSymbol = getSymbol(constructoDeclaration.locals, parameterName, SymbolFlags.Value);
|
||||
const propertySymbol = getSymbol(classDeclaration.symbol.members, parameterName, SymbolFlags.Value);
|
||||
|
||||
|
||||
return parameterSymbol && propertySymbol ? [parameterSymbol, propertySymbol] : undefined;
|
||||
}
|
||||
|
||||
|
|
|
@ -2741,7 +2741,7 @@ namespace ts {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function isPropertyParameterDeclaration(node: ParameterDeclaration): boolean {
|
||||
// If this is a property-parameter, then also declare the property symbol into the
|
||||
// containing class.
|
||||
|
|
Loading…
Reference in a new issue