Fix linting issues

This commit is contained in:
Anders Hejlsberg
2019-09-23 06:14:52 -07:00
parent 8604d4e428
commit bf08d3bfc7
2 changed files with 2 additions and 2 deletions

View File

@@ -9125,7 +9125,7 @@ namespace ts {
return type;
}
function getTypeArguments(type: TypeReference): ReadonlyArray<Type> {
function getTypeArguments(type: TypeReference): readonly Type[] {
if (!type.resolvedTypeArguments) {
const node = type.node;
const typeArguments = !node ? emptyArray :

View File

@@ -11,7 +11,7 @@ namespace ts {
getIndexTypeOfStructuredType: (type: Type, kind: IndexKind) => Type | undefined,
getConstraintOfTypeParameter: (typeParameter: TypeParameter) => Type | undefined,
getFirstIdentifier: (node: EntityNameOrEntityNameExpression) => Identifier,
getTypeArguments: (type: TypeReference) => ReadonlyArray<Type>) {
getTypeArguments: (type: TypeReference) => readonly Type[]) {
return getSymbolWalker;