ipatalas / vscode-postfix-ts

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

postfix does not work in function expression with variable declaration. #26

Closed oigami closed 5 years ago

oigami commented 5 years ago
const f1 = function() {
  "test".  // not work. suggestions are only "cast", "castas", and "not".
}
function f2() {
  "test".  // work.
}

const f3 = () => {
  "test".  // not work. suggestions are only "cast", "castas", and "not".
}
() => {
  "test".  // work.
}
ipatalas commented 5 years ago

Thanks for reporting. I'll take a look into that.