JSTQL-JS-Transform/output_testing/1151infer-compile-hooks-with-multiple-params.js

13 lines
275 B
JavaScript
Raw Normal View History

// @compilationMode(infer)
import { useNoAlias } from "shared-runtime";
// This should be compiled by Forget
function useFoo(value1, value2) {
return {
value: value1 + value2 |> useNoAlias(%)
};
}
export const FIXTURE_ENTRYPOINT = {
fn: useFoo,
params: [1, 2]
};