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

x/danet/validation.ts>plainToClass

The most mature backend framework for Deno. Create awesome HTTP and WebSocket server as well as KVQueue workers !
Latest
variable plainToClass
Re-export
import { plainToClass } from "https://deno.land/x/danet@2.4.1/validation.ts";

type

<T extends new (...args: unknown[]) => unknown>(data: unknown, Class: T) => InstanceType<T>