//// [computedPropertyNames35_ES6.ts] function foo() { return '' } interface I { bar(): string; [foo()](): void; } //// [computedPropertyNames35_ES6.js] function foo() { return ''; }