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

x/docxml/src/classes/Component.ts>ComponentProps

TypeScript (component) library for building and parsing a DOCX file
Latest
type alias ComponentProps
import { type ComponentProps } from "https://deno.land/x/docxml@5.15.3/src/classes/Component.ts";

Utility type to retrieve the prop types of an Component

Type Parameters

ComponentGeneric extends Component | unknown
definition: ComponentGeneric extends Component<infer P, any> ? P : { [key: string]: never; }