Preview:
    // A method for this type. Takes 2 inputs and has 2 outputs.
    // implemented in JavaScript and run on the server
    myMethodA: function(myInputA: string, myInputB: double): double, double js server

    // A method for this type. Takes no inputs and has 1 output.
    myMethodB: function(): double js server
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter