<script>
	export let bar = 1;

	export function foo() {
		return bar * 2;
	}
</script>