@@ -2854,7 +2854,7 @@ namespace ts {
28542854 getPropertiesOfType ( type : Type ) : Symbol [ ] ;
28552855 getPropertyOfType ( type : Type , propertyName : string ) : Symbol | undefined ;
28562856 getIndexInfoOfType ( type : Type , kind : IndexKind ) : IndexInfo | undefined ;
2857- getSignaturesOfType ( type : Type , kind : SignatureKind ) : Signature [ ] ;
2857+ getSignaturesOfType ( type : Type , kind : SignatureKind ) : ReadonlyArray < Signature > ;
28582858 getIndexTypeOfType ( type : Type , kind : IndexKind ) : Type | undefined ;
28592859 getBaseTypes ( type : InterfaceType ) : BaseType [ ] ;
28602860 getBaseTypeOfLiteralType ( type : Type ) : Type ;
@@ -3735,7 +3735,7 @@ namespace ts {
37353735 symbol : Symbol ; // Symbol associated with type (if any)
37363736 pattern ?: DestructuringPattern ; // Destructuring pattern represented by type (if any)
37373737 aliasSymbol ?: Symbol ; // Alias associated with type
3738- aliasTypeArguments ?: Type [ ] ; // Alias type arguments (if any)
3738+ aliasTypeArguments ?: ReadonlyArray < Type > ; // Alias type arguments (if any)
37393739 /* @internal */
37403740 wildcardInstantiation ?: Type ; // Instantiation with type parameters mapped to wildcard type
37413741 }
@@ -3829,7 +3829,7 @@ namespace ts {
38293829 */
38303830 export interface TypeReference extends ObjectType {
38313831 target : GenericType ; // Type reference target
3832- typeArguments ?: Type [ ] ; // Type reference type arguments (undefined if none)
3832+ typeArguments ?: ReadonlyArray < Type > ; // Type reference type arguments (undefined if none)
38333833 }
38343834
38353835 /* @internal */
@@ -3906,8 +3906,8 @@ namespace ts {
39063906 export interface ResolvedType extends ObjectType , UnionOrIntersectionType {
39073907 members : SymbolTable ; // Properties by name
39083908 properties : Symbol [ ] ; // Properties
3909- callSignatures : Signature [ ] ; // Call signatures of type
3910- constructSignatures : Signature [ ] ; // Construct signatures of type
3909+ callSignatures : ReadonlyArray < Signature > ; // Call signatures of type
3910+ constructSignatures : ReadonlyArray < Signature > ; // Construct signatures of type
39113911 stringIndexInfo ?: IndexInfo ; // String indexing info
39123912 numberIndexInfo ?: IndexInfo ; // Numeric indexing info
39133913 }
@@ -4032,8 +4032,8 @@ namespace ts {
40324032
40334033 export interface Signature {
40344034 declaration ?: SignatureDeclaration | JSDocSignature ; // Originating declaration
4035- typeParameters ?: TypeParameter [ ] ; // Type parameters (undefined if non-generic)
4036- parameters : Symbol [ ] ; // Parameters
4035+ typeParameters ?: ReadonlyArray < TypeParameter > ; // Type parameters (undefined if non-generic)
4036+ parameters : ReadonlyArray < Symbol > ; // Parameters
40374037 /* @internal */
40384038 thisParameter ?: Symbol ; // symbol of this-type parameter
40394039 /* @internal */
@@ -4132,11 +4132,11 @@ namespace ts {
41324132
41334133 /* @internal */
41344134 export interface InferenceContext extends TypeMapper {
4135- typeParameters : TypeParameter [ ] ; // Type parameters for which inferences are made
4136- signature ?: Signature ; // Generic signature for which inferences are made (if any)
4137- inferences : InferenceInfo [ ] ; // Inferences made for each type parameter
4138- flags : InferenceFlags ; // Inference flags
4139- compareTypes : TypeComparer ; // Type comparer function
4135+ typeParameters : ReadonlyArray < TypeParameter > ; // Type parameters for which inferences are made
4136+ signature ?: Signature ; // Generic signature for which inferences are made (if any)
4137+ inferences : InferenceInfo [ ] ; // Inferences made for each type parameter
4138+ flags : InferenceFlags ; // Inference flags
4139+ compareTypes : TypeComparer ; // Type comparer function
41404140 }
41414141
41424142 /* @internal */
0 commit comments