mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 10:46:28 -05:00
Fix linting issues
This commit is contained in:
@@ -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 :
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user