mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
314 B
TypeScript
13 lines
314 B
TypeScript
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames35_ES6.ts] ////
|
|
|
|
//// [computedPropertyNames35_ES6.ts]
|
|
function foo<T>() { return '' }
|
|
interface I<T> {
|
|
bar(): string;
|
|
[foo<T>()](): void;
|
|
}
|
|
|
|
//// [computedPropertyNames35_ES6.js]
|
|
"use strict";
|
|
function foo() { return ''; }
|