Files
tsgo/testdata/baselines/reference/submodule/compiler/computedPropertiesInDestructuring2_ES6.errors.txt

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'.