When extracting a method in InteliJ typescript:
const main = () => {
console.log(`say hello`);
};
The extracted method uses the following function syntax:
function extracted() {
console.log(`say hello`);
}
const main = () => {
extracted();
};
Is there a way to change the syntax that intelij uses to be
const extracted = () => {
console.log(`say hello`);
}
const main = () => {
extracted();
};
