Trilium Frontend API
    Preparing search index...

    Type Alias DisabledForms<T>

    DisabledForms: `disabled:${Extract<T, { isDangerous: true }>["name"]}`

    The disabled:-prefixed forms of the dangerous entries in T, which is how a dangerous attribute is neutralised without losing its value. Derived rather than enumerated, so marking an attribute dangerous is enough to make its disabled form known to the type system.

    Type Parameters

    • T extends { name: string }