function deprecateimport { deprecate } from "https://dotland.deno.dev/std@0.110.0/node/sys.ts"; deprecate<T extends (...args: any) => any>(fn: T,msg: string,_code?: string,): (...args: Parameters<T>) => ReturnType<T>https://nodejs.org/api/util.html#util_util_deprecate_fn_msg_code https://nodejs.org/api/util.html#util_util_deprecate_fn_msg_code Type ParametersT extends (...args: any) => anyParametersfn: TThis implementation of deprecate won't apply the deprecation code msg: stringoptional_code: stringReturns(...args: Parameters<T>) => ReturnType<T>