mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
1.6 KiB
Diff
29 lines
1.6 KiB
Diff
--- old.symbolDeclarationEmit12.errors.txt
|
|
+++ new.symbolDeclarationEmit12.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
symbolDeclarationEmit12.ts(4,9): error TS2564: Property '[Symbol.iterator]' has no initializer and is not definitely assigned in the constructor.
|
|
+symbolDeclarationEmit12.ts(5,9): error TS2300: Duplicate identifier '[Symbol.toPrimitive]'.
|
|
symbolDeclarationEmit12.ts(7,13): error TS2322: Type 'undefined' is not assignable to type 'I'.
|
|
symbolDeclarationEmit12.ts(9,13): error TS2300: Duplicate identifier '[Symbol.toPrimitive]'.
|
|
-symbolDeclarationEmit12.ts(9,38): error TS2322: Type 'undefined' is not assignable to type 'I'.
|
|
symbolDeclarationEmit12.ts(10,13): error TS2300: Duplicate identifier '[Symbol.toPrimitive]'.
|
|
|
|
|
|
@@= skipped -12, +12 lines =@@
|
|
~~~~~~~~~~~~~~~~~
|
|
!!! error TS2564: Property '[Symbol.iterator]' has no initializer and is not definitely assigned in the constructor.
|
|
[Symbol.toPrimitive](x: I) { }
|
|
+ ~~~~~~~~~~~~~~~~~~~~
|
|
+!!! error TS2300: Duplicate identifier '[Symbol.toPrimitive]'.
|
|
[Symbol.isConcatSpreadable](): I {
|
|
return undefined
|
|
~~~~~~
|
|
@@= skipped -8, +10 lines =@@
|
|
get [Symbol.toPrimitive]() { return undefined; }
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2300: Duplicate identifier '[Symbol.toPrimitive]'.
|
|
- ~~~~~~
|
|
-!!! error TS2322: Type 'undefined' is not assignable to type 'I'.
|
|
set [Symbol.toPrimitive](x: I) { }
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2300: Duplicate identifier '[Symbol.toPrimitive]'.
|