flow-js2-mode icon indicating copy to clipboard operation
flow-js2-mode copied to clipboard

Type annotation broken in function assigned to a key in an object

Open Fuco1 opened this issue 7 years ago • 0 comments

The number[] annotation does not parse

function GetQuoteV2(connections) {
}

const v2 = {
    GetQuote: async function (connections: number[]) {
        return GetQuoteV2(connections)
    },
}

Fuco1 avatar Mar 08 '18 10:03 Fuco1