mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
34 lines
700 B
Plaintext
34 lines
700 B
Plaintext
destructuringSpread.ts(16,21): error TS2339: Property 'g' does not exist on type '{ c: number; d: number; e: number; f: number; }'.
|
|
|
|
|
|
==== destructuringSpread.ts (1 errors) ====
|
|
const { x } = {
|
|
...{},
|
|
x: 0
|
|
};
|
|
|
|
const { y } = {
|
|
y: 0,
|
|
...{}
|
|
};
|
|
|
|
const { z, a, b } = {
|
|
z: 0,
|
|
...{ a: 0, b: 0 }
|
|
};
|
|
|
|
const { c, d, e, f, g } = {
|
|
~
|
|
!!! error TS2339: Property 'g' does not exist on type '{ c: number; d: number; e: number; f: number; }'.
|
|
...{
|
|
...{
|
|
...{
|
|
c: 0,
|
|
},
|
|
d: 0
|
|
},
|
|
e: 0
|
|
},
|
|
f: 0
|
|
};
|
|
|