/function

Create an exported TypeScript function in a new file; an optional value it returns fills its body and sets its return type.

Usage: /function <action> <name> <value> [returns=]