Trilium Frontend API
    Preparing search index...

    Type Alias FacetReader<Output>

    A facet reader can be used to fetch the value of a facet, through EditorState.facet or as a dependency in Facet.compute, but not to define new values for the facet.

    type FacetReader<Output> = {
        tag: Output;
    }

    Type Parameters

    • Output

    Implemented by

    Index

    Properties

    Properties

    tag: Output

    Dummy tag that makes sure TypeScript doesn't consider all object types as conforming to this type. Not actually present on the object.