documentation/test/fixture/flow-default.input.js
Tom MacWright a65801a6d4 Add and test default parameter parsing.
cc @killercup this implements default parameter parsing for both
flow-annotated and unannotated methods
2015-10-06 15:51:46 -04:00

10 lines
145 B
JavaScript

/**
* Very Important Transform
*/
function veryImportantTransform(
input: Array<string>,
options: Object = {}
): string {
return "42";
}