TypeScript/tests/cases/compiler/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.ts
Kanchalai Tanglertsampan 33524bd18c Update test and baseline
2017-04-05 10:26:28 -07:00

4 lines
159 B
TypeScript

// @target: es5
(x) => ({ "1": "one", "2": "two" } as { [key: string]: string })[x];
(x) => ({ "1": "one", "2": "two" } as { [key: string]: string }).x;