mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
1.2 KiB
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'.
|
|
}
|
|
|
|
|