mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-24 09:35:05 +00:00
feat: add @opencode-ai/util package with utility functions
This commit is contained in:
3
packages/util/src/iife.ts
Normal file
3
packages/util/src/iife.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function iife<T>(fn: () => T) {
|
||||
return fn()
|
||||
}
|
||||
Reference in New Issue
Block a user