Files
2026-08-27 21:09:14 +00:00

12 lines
272 B
TypeScript

import {useNoAlias} from 'shared-runtime';
function useFoo(props: {value: {x: string; y: string} | null}) {
const value = props.value;
return useNoAlias(value?.x, value?.y) ? {} : null;
}
export const FIXTURE_ENTRYPONT = {
fn: useFoo,
props: [{value: null}],
};