KC's Workspace
    Preparing search index...

    Type Alias TsdownPluginOption<A>

    TsdownPluginOption: Awaitable<
        | TsdownPlugin<A>
        | RolldownPlugin<A>
        | { name: string }
        | undefined
        | null
        | void
        | false
        | TsdownPluginOption<A>[],
    >

    A tsdown plugin slot — accepts tsdown plugins, any Rolldown plugin form, null/undefined/false, promises, and nested arrays. Mirrors Rolldown's RolldownPluginOption but with TsdownPlugin as the atom so that tsdown-specific hooks are type-checked.

    Type Parameters

    • A = any