19 lines
417 B
TypeScript
19 lines
417 B
TypeScript
//// [computedPropertyNamesDeclarationEmit5_ES6.ts]
|
|
var v = {
|
|
["" + ""]: 0,
|
|
["" + ""]() { },
|
|
get ["" + ""]() { return 0; },
|
|
set ["" + ""](x) { }
|
|
}
|
|
|
|
//// [computedPropertyNamesDeclarationEmit5_ES6.js]
|
|
var v = {
|
|
["" + ""]: 0,
|
|
["" + ""]() { },
|
|
get ["" + ""]() { return 0; },
|
|
set ["" + ""](x) { }
|
|
};
|
|
|
|
|
|
//// [computedPropertyNamesDeclarationEmit5_ES6.d.ts]
|
|
declare var v: {};
|