mirror of
https://github.com/anomalyco/opencode.git
synced 2026-06-01 19:05:38 +00:00
refactor: rename shared package to core (#24309)
This commit is contained in:
3
packages/core/src/util/iife.ts
Normal file
3
packages/core/src/util/iife.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function iife<T>(fn: () => T) {
|
||||
return fn()
|
||||
}
|
||||
Reference in New Issue
Block a user