Prism API
    Preparing search index...

    Interface LanguageProto<Id>

    interface LanguageProto<Id extends string = string> {
        alias?: string | readonly string[];
        effect?: (
            Prism: Prism & { plugins: Record<KebabToCamelCase<Id>, {}> },
        ) => () => void;
        grammar: Grammar | ((options: GrammarOptions) => Grammar);
        id: Id;
        optional?: string | readonly string[];
        plugin?: undefined;
        require?: ComponentProto | readonly ComponentProto[];
    }

    Type Parameters

    • Id extends string = string

    Hierarchy (View Summary)

    Index

    Properties

    alias?: string | readonly string[]
    effect?: (
        Prism: Prism & { plugins: Record<KebabToCamelCase<Id>, {}> },
    ) => () => void
    grammar: Grammar | ((options: GrammarOptions) => Grammar)
    id: Id
    optional?: string | readonly string[]
    plugin?: undefined
    require?: ComponentProto | readonly ComponentProto[]