Type ctrl+h
on VsCode
On Find input insert:
^function (.+)(\(.*\))
On Replace input insert:
const $1 = ($2) =>
All your functions will convert to const
Type ctrl+h
on VsCode
On Find input insert:
^function (.+)(\(.*\))
On Replace input insert:
const $1 = ($2) =>
All your functions will convert to const