JsFormat icon indicating copy to clipboard operation
JsFormat copied to clipboard

Private methods wrongly formatted

Open janpeterka opened this issue 2 years ago • 0 comments

Hi, I have code:

export default class extends Controller {
  (...)
  #someprivatemethod(){do_something}
}

but on formatting, #someprivatemethod is changed to # someprivatemethod, which breaks code.

It was fixed in js-beautify long time ago. Why is it not working here?

Thanks!

janpeterka avatar Sep 20 '23 12:09 janpeterka