Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/methodSignatureHandledDeclarationKindForSymbol.errors.txt.diff

27 lines
1.2 KiB
Diff

--- old.methodSignatureHandledDeclarationKindForSymbol.errors.txt
+++ new.methodSignatureHandledDeclarationKindForSymbol.errors.txt
@@= skipped -0, +0 lines =@@
-methodSignatureHandledDeclarationKindForSymbol.ts(6,5): error TS2717: Subsequent property declarations must have the same type. Property 'bold' must be of type '() => string', but here has type 'string'.
-
-
-==== methodSignatureHandledDeclarationKindForSymbol.ts (1 errors) ====
+methodSignatureHandledDeclarationKindForSymbol.ts(2,5): error TS2300: Duplicate identifier 'bold'.
+methodSignatureHandledDeclarationKindForSymbol.ts(6,5): error TS2300: Duplicate identifier 'bold'.
+
+
+==== methodSignatureHandledDeclarationKindForSymbol.ts (2 errors) ====
interface Foo {
bold(): string;
+ ~~~~
+!!! error TS2300: Duplicate identifier 'bold'.
}
interface Foo {
bold: string;
~~~~
-!!! error TS2717: Subsequent property declarations must have the same type. Property 'bold' must be of type '() => string', but here has type 'string'.
-!!! related TS6203 methodSignatureHandledDeclarationKindForSymbol.ts:2:5: 'bold' was also declared here.
+!!! error TS2300: Duplicate identifier 'bold'.
}