mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
8 lines
349 B
Plaintext
8 lines
349 B
Plaintext
computedPropertiesInDestructuring2_ES6.ts(2,7): error TS2537: Type '{}' has no matching index signature for type 'string'.
|
|
|
|
|
|
==== computedPropertiesInDestructuring2_ES6.ts (1 errors) ====
|
|
let foo2 = () => "bar";
|
|
let {[foo2()]: bar3} = {};
|
|
~~~~~~
|
|
!!! error TS2537: Type '{}' has no matching index signature for type 'string'. |