FormatDocument<Metadata>: ((document) => {
    id: string;
    name: string;
    score: number;
    text: string;
})

Type Parameters

  • Metadata extends Record<string, any> = Record<string, any>

Type declaration

    • (document): {
          id: string;
          name: string;
          score: number;
          text: string;
      }
    • Parameters

      Returns {
          id: string;
          name: string;
          score: number;
          text: string;
      }

      • id: string
      • name: string
      • score: number
      • text: string

Generated using TypeDoc