aboutsummaryrefslogtreecommitdiff
path: root/integration/macro/hello-fetch-macro.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'integration/macro/hello-fetch-macro.tsx')
-rw-r--r--integration/macro/hello-fetch-macro.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/integration/macro/hello-fetch-macro.tsx b/integration/macro/hello-fetch-macro.tsx
new file mode 100644
index 000000000..fa0de4a9d
--- /dev/null
+++ b/integration/macro/hello-fetch-macro.tsx
@@ -0,0 +1,5 @@
+import { fetchSync } from "macro:./fetchSync.tsx";
+
+const synchronousFetch = fetchSync(`https://example.com`);
+
+console.log(synchronousFetch);