function factoryimport { factory } from "https://deno.land/x/fathym_atomic@v0.0.150/mod.ts"; factory<T extends { new (...args: any[]): any; }>(type: T, data?: InstanceType<T>): InstanceType<T>Type ParametersT extends { new (...args: any[]): any; }Parameterstype: Toptionaldata: InstanceType<T>ReturnsInstanceType<T>