18 lines
314 B
Plaintext
18 lines
314 B
Plaintext
exports[`test keyvalue.js 1`] = `
|
|
"// @flow
|
|
|
|
let tests = [
|
|
function(x: { [key: number]: string }) {
|
|
(x[\"\"]: number);
|
|
}
|
|
];
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// @flow
|
|
|
|
let tests = [
|
|
function(x: { [key: number]: string }) {
|
|
(x[\"\"]: number);
|
|
}
|
|
];"
|
|
`;
|