Closed sxzz closed 1 month ago
Add a built-in command inline-arrow
inline-arrow
Inline return statement of arrow function.
Triggers:
/// inline-arrow
/// ia
/// inline-arrow const foo = async (msg: string): void => { return fn(msg) }
Will be converted to:
const foo = async (msg: string): void => fn(msg)
Description
Add a built-in command
inline-arrow
Inline return statement of arrow function.
Triggers:
/// inline-arrow
/// ia
Will be converted to:
Linked Issues
Additional context