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