mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
44 lines
2.0 KiB
Diff
44 lines
2.0 KiB
Diff
--- old.unusedDestructuring.errors.txt
|
|
+++ new.unusedDestructuring.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
unusedDestructuring.ts(3,7): error TS6198: All destructured elements are unused.
|
|
unusedDestructuring.ts(4,9): error TS6133: 'c' is declared but its value is never read.
|
|
-unusedDestructuring.ts(6,7): error TS6133: 'e' is declared but its value is never read.
|
|
-unusedDestructuring.ts(7,7): error TS6133: 'g' is declared but its value is never read.
|
|
+unusedDestructuring.ts(6,9): error TS6133: 'e' is declared but its value is never read.
|
|
+unusedDestructuring.ts(7,12): error TS6133: 'g' is declared but its value is never read.
|
|
unusedDestructuring.ts(8,1): error TS6199: All variables are unused.
|
|
unusedDestructuring.ts(10,10): error TS6133: 'f' is declared but its value is never read.
|
|
unusedDestructuring.ts(10,12): error TS6198: All destructured elements are unused.
|
|
unusedDestructuring.ts(10,24): error TS6133: 'c' is declared but its value is never read.
|
|
-unusedDestructuring.ts(10,32): error TS6133: 'e' is declared but its value is never read.
|
|
+unusedDestructuring.ts(10,34): error TS6133: 'e' is declared but its value is never read.
|
|
|
|
|
|
==== unusedDestructuring.ts (9 errors) ====
|
|
@@= skipped -19, +19 lines =@@
|
|
!!! error TS6133: 'c' is declared but its value is never read.
|
|
d;
|
|
const { e } = o;
|
|
- ~~~~~
|
|
+ ~
|
|
!!! error TS6133: 'e' is declared but its value is never read.
|
|
const { f: g } = o;
|
|
- ~~~~~~~~
|
|
+ ~
|
|
!!! error TS6133: 'g' is declared but its value is never read.
|
|
const { h } = o, { i } = o;
|
|
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS6199: All variables are unused.
|
|
|
|
function f({ a, b }, { c, d }, { e }) {
|
|
@@= skipped -16, +16 lines =@@
|
|
!!! error TS6198: All destructured elements are unused.
|
|
~
|
|
!!! error TS6133: 'c' is declared but its value is never read.
|
|
- ~~~~~
|
|
+ ~
|
|
!!! error TS6133: 'e' is declared but its value is never read.
|
|
d;
|
|
}
|