|
|
|
|
|
by silviogutierrez
3305 days ago
|
|
I don't understand. In your transpiled code, getOptions is clearly being called in JS. In flow, getOptions() wouldn't be in the transpiled code at all. Imagine the body of getOptions as an extremely expensive computation. Some prime calculation. But you only want its return type. In flow comments, you can get it. In the approach of your snippet, you could get it, but it will execute the full function with the full price. |
|