args_to_ts

Function args_to_ts 

Source
pub fn args_to_ts(inputs: &[FunctionInput]) -> Option<(String, String)>
Expand description

Convert a function’s inputs to TypeScript arguments. Returns a tuple with the arguments as they’ll actually be used in JS, as well as TS type definitions for the arguments.