//// [tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType8_ES5.ts] ////

//// [computedPropertyNamesContextualType8_ES5.ts]
interface I {
    [s: string]: boolean;
    [s: number]: boolean;
}

var o: I = {
    [""+"foo"]: "",
    [""+"bar"]: 0
}

//// [computedPropertyNamesContextualType8_ES5.js]
"use strict";
var o = {
    ["" + "foo"]: "",
    ["" + "bar"]: 0
};
