mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(ci): eslint + prettier → biome (#325)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
export function tryCatch<T extends (...args: any[]) => unknown>(
|
||||
fn: T | undefined,
|
||||
onError: (error: unknown) => void = console.error,
|
||||
onError: (error: unknown) => void = console.error
|
||||
): T | undefined {
|
||||
if (!fn) return undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user