JSTQL-JS-Transform/output_testing/1093function-declaration-simple.js

15 lines
No EOL
212 B
JavaScript

function component(a) {
let t = {
a
};
function x(p) {
p.foo();
}
t |> x(%);
return t;
}
export const FIXTURE_ENTRYPOINT = {
fn: component,
params: ["TodoAdd"],
isComponent: "TodoAdd"
};