chore(packages): remove isolatedDeclarations for store type inference support (#295)

This commit is contained in:
rahim
2026-01-06 14:09:36 +11:00
committed by GitHub
parent 47659f5352
commit 0354e3ef9c
32 changed files with 137 additions and 512 deletions
-4
View File
@@ -1,10 +1,6 @@
/**
* Wrap a function to catch and handle errors instead of throwing.
*
* @param fn - Function to wrap (can be undefined)
* @param onError - Error handler (defaults to console.error)
* @returns Wrapped function that never throws, or undefined if fn is undefined
*
* @example
* ```ts
* const safeFn = tryCatch(riskyFn, (e) => logger.error(e));