ipatalas / vscode-postfix-ts

Postfix notation for TypeScript/Javascript - extension for VS Code
MIT License
158 stars 43 forks source link

return template does not work in some cases #29

Closed ipatalas closed 5 years ago

ipatalas commented 5 years ago

Can't call return template when inside a callback which is a part of a return statement:

function test(items) {
  return items.map(x => {
    // ... some logic
    result.{cursor} // does not show return template here
  })
}