/* eslint-disable @typescript-eslint/no-explicit-any */ import { profileSync } from '@speckle/shared' type ParametersExceptFirst = F extends (arg0: any, ...rest: infer R) => any ? R : never export const computedProfiled = ( fn: () => V, ...options: ParametersExceptFirst ) => { return computed(() => profileSync(fn, ...options)) }