about summary refs log tree commit diff stats
path: root/ts/bun/index.ts
diff options
context:
space:
mode:
authorelioat <{ID}+{username}@users.noreply.github.com>2024-06-07 16:07:32 -0400
committerelioat <{ID}+{username}@users.noreply.github.com>2024-06-07 16:07:32 -0400
commit6adc6a232cc4a76206195451d51a233268b2280a (patch)
treec3a6146f5e445bb0bf60328c18408a6a73731bca /ts/bun/index.ts
parent108b7ecad8a043ba3e583bc4ff33342d97d4f600 (diff)
downloadtour-6adc6a232cc4a76206195451d51a233268b2280a.tar.gz
Learning some bun
Diffstat (limited to 'ts/bun/index.ts')
-rw-r--r--ts/bun/index.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/ts/bun/index.ts b/ts/bun/index.ts
new file mode 100644
index 0000000..a453244
--- /dev/null
+++ b/ts/bun/index.ts
@@ -0,0 +1,6 @@
+const a = (b:string):number => {
+    console.log(b);
+    return 123;
+}
+
+console.log(a('Hello World!'));
\ No newline at end of file