ozhanefemeral / visual-ts

Generate React & TypeScript code visually.
https://visual-ts.vercel.app
11 stars 2 forks source link

Grab declared variables for function params #10

Closed ozhanefemeral closed 5 months ago

ozhanefemeral commented 5 months ago

Code Generator can declare a variable using a function call and that function may need parameters.

Code Generator should be smart enough to grab already declared variables; and use them as params when needed.

let data = await fetchData()
let parsedData = await parseData(data);

Right now we don't support this feature. That would be a great feature if we introduce it.