JSTQL-JS-Transform/output_testing/1016capturing-function-decl.js

15 lines
No EOL
211 B
JavaScript

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