mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
Rebaseline messages in existing tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
tests/cases/conformance/types/objectTypeLiteral/constructSignatures/constructSignaturesWithOverloads2.ts(32,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/types/objectTypeLiteral/constructSignatures/constructSignaturesWithOverloads2.ts(32,11): error TS2428: All declarations must have identical type parameters.
|
||||
|
||||
|
||||
==== tests/cases/conformance/types/objectTypeLiteral/constructSignatures/constructSignaturesWithOverloads2.ts (1 errors) ====
|
||||
@@ -35,7 +35,7 @@ tests/cases/conformance/types/objectTypeLiteral/constructSignatures/constructSig
|
||||
|
||||
interface I<T> {
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
new (x: T, y?: number): C2<T>;
|
||||
new (x: T, y: number): C2<T>;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
tests/cases/compiler/extendedInterfacesWithDuplicateTypeParameters.ts(1,42): error TS2300: Duplicate identifier 'A'.
|
||||
tests/cases/compiler/extendedInterfacesWithDuplicateTypeParameters.ts(9,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/extendedInterfacesWithDuplicateTypeParameters.ts(9,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/extendedInterfacesWithDuplicateTypeParameters.ts(9,38): error TS2300: Duplicate identifier 'C'.
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ tests/cases/compiler/extendedInterfacesWithDuplicateTypeParameters.ts(9,38): err
|
||||
|
||||
interface InterfaceWithSomeTypars<C, C> { // should error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
~
|
||||
!!! error TS2300: Duplicate identifier 'C'.
|
||||
bar2(): void;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts(7,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts(16,15): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts(40,22): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts(7,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts(16,15): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts(40,22): error TS2428: All declarations must have identical type parameters.
|
||||
|
||||
|
||||
==== tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts (3 errors) ====
|
||||
@@ -12,7 +12,7 @@ tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterf
|
||||
|
||||
interface A<T> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
bar: T;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterf
|
||||
|
||||
interface A { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
foo: string;
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@ tests/cases/conformance/interfaces/declarationMerging/genericAndNonGenericInterf
|
||||
module M3 {
|
||||
export interface A<T> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
bar: T;
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,14 @@
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(3,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(5,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(7,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(9,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(11,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(16,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(18,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(20,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(22,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(24,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(29,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(3,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(5,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(7,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(9,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(11,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(16,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(18,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(20,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(22,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(24,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/compiler/interfaceWithMultipleDeclarations.ts(29,11): error TS2428: All declarations must have identical type parameters.
|
||||
|
||||
|
||||
==== tests/cases/compiler/interfaceWithMultipleDeclarations.ts (11 errors) ====
|
||||
@@ -16,53 +16,53 @@ tests/cases/compiler/interfaceWithMultipleDeclarations.ts(29,11): error TS2428:
|
||||
}
|
||||
interface I1<S> { // Name mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I1<T, U extends T> { // Length mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I1<V extends string> { // constraint present
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I1<V, X extends V> { // Length mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I1 { // Length mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
|
||||
interface I2<T extends string> {
|
||||
}
|
||||
interface I2<T extends () => string> { // constraint mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I2<T> { // constraint absent
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I2<U> { // name mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I2<X, Y> { // length mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
interface I2 { // length mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
|
||||
interface I3 {
|
||||
}
|
||||
interface I3<T> { // length mismatch
|
||||
~~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
}
|
||||
|
||||
class Foo<T> {
|
||||
|
||||
@@ -3,7 +3,7 @@ tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericI
|
||||
tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(15,5): error TS2375: Duplicate number index signature.
|
||||
tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(20,5): error TS2375: Duplicate number index signature.
|
||||
tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(25,5): error TS2375: Duplicate number index signature.
|
||||
tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(28,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(28,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(29,5): error TS2375: Duplicate number index signature.
|
||||
tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts(30,5): error TS2375: Duplicate number index signature.
|
||||
|
||||
@@ -48,7 +48,7 @@ tests/cases/conformance/types/objectTypeLiteral/indexSignatures/multipleNumericI
|
||||
|
||||
interface I<T> {
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
[x: number]: string;
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2375: Duplicate number index signature.
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(7,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(15,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(24,15): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(32,15): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(56,22): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(7,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(15,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(24,15): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(32,15): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts(56,22): error TS2428: All declarations must have identical type parameters.
|
||||
|
||||
|
||||
==== tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts (5 errors) ====
|
||||
@@ -14,7 +14,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
|
||||
interface A<U> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: U;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
|
||||
interface B<T,V> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: V;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
|
||||
interface A<U> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: U;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
|
||||
interface B<T, V> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: V;
|
||||
}
|
||||
}
|
||||
@@ -71,7 +71,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
module M3 {
|
||||
export interface B<T, V> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: V;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts(7,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts(7,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts(8,8): error TS2304: Cannot find name 'V'.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts(16,15): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts(40,22): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts(16,15): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts(40,22): error TS2428: All declarations must have identical type parameters.
|
||||
|
||||
|
||||
==== tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts (4 errors) ====
|
||||
@@ -13,7 +13,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
|
||||
interface B<U, T> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: V;
|
||||
~
|
||||
!!! error TS2304: Cannot find name 'V'.
|
||||
@@ -26,7 +26,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
|
||||
interface B<U, T> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesDiffer
|
||||
module M3 {
|
||||
export interface B<U, T> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(5,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(14,15): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(38,22): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(5,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(14,15): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts(38,22): error TS2428: All declarations must have identical type parameters.
|
||||
|
||||
|
||||
==== tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts (3 errors) ====
|
||||
@@ -10,7 +10,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDi
|
||||
|
||||
interface A<T extends Number> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDi
|
||||
|
||||
interface B<T extends A<any>> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
}
|
||||
@@ -47,7 +47,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithDi
|
||||
module M3 {
|
||||
export interface A<T extends Number> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts(5,11): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts(14,15): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts(38,22): error TS2428: All declarations of an interface must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts(5,11): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts(14,15): error TS2428: All declarations must have identical type parameters.
|
||||
tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts(38,22): error TS2428: All declarations must have identical type parameters.
|
||||
|
||||
|
||||
==== tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts (3 errors) ====
|
||||
@@ -10,7 +10,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTh
|
||||
|
||||
interface A<T, U> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTh
|
||||
|
||||
interface A<T, U> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
}
|
||||
@@ -47,7 +47,7 @@ tests/cases/conformance/interfaces/declarationMerging/twoGenericInterfacesWithTh
|
||||
module M3 {
|
||||
export interface A<T, U> { // error
|
||||
~
|
||||
!!! error TS2428: All declarations of an interface must have identical type parameters.
|
||||
!!! error TS2428: All declarations must have identical type parameters.
|
||||
y: T;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user