iya-sts
    Preparing search index...
    fill: (template: string, params: Record<string, unknown>) => string = ServerProse.fill

    Type Declaration

      • (template: string, params: Record<string, unknown>): string
      • Fills a prose template (#543 phase 2): each {{name}} replaced by its parameter. Where a module makes a sentence, it makes it with this from a template it declares, so the sentence and the template the server matches it against cannot differ. A placeholder with no parameter is left as written.

        Parameters

        • template: string

          the template

        • params: Record<string, unknown>

          name → value

        Returns string

        the sentence