Function makeRouteHelpers

  • Parameters

    Returns {
        discussion: ((discussion: Discussion, near?: number) => string);
        post: ((post: Post) => string);
        user: ((user: User) => string);
    }

    • discussion: ((discussion: Discussion, near?: number) => string)
        • (discussion: Discussion, near?: number): string
        • Generate a URL to a discussion.

          Parameters

          Returns string

    • post: ((post: Post) => string)
        • (post: Post): string
        • Generate a URL to a post.

          Parameters

          Returns string

    • user: ((user: User) => string)
        • (user: User): string
        • Generate a URL to a user.

          Parameters

          Returns string

Generated using TypeDoc v0.23.24