Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fathym_atomic/mod.ts>factory

This is the core atomic library to build design libraries from.
Go to Latest
function factory
import { factory } from "https://deno.land/x/fathym_atomic@v0.0.168/mod.ts";

Type Parameters

T extends { new (...args: any[]): any; }

Parameters

type: T
optional
data: InstanceType<T>

Returns

InstanceType<T>