From 53d96890a2e89bd539b97211b084428e515fc2dd Mon Sep 17 00:00:00 2001 From: Abhishek Sharma Date: Jun 06 2018 08:24:22 +0000 Subject: Fix Merge Conflicts --- diff --git a/src/utils.ts b/src/utils.ts index 9a51b77..a541bfe 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -16,14 +16,14 @@ export function chooseEndpoint(devServerEndpoint: string, appEndpoint: string) { * Substitutes a falsy value in a RxJS stream with a default value * @param value the default value */ -export function defaultValue(value:T): OperatorFunction { - return map((x:T) => x ? x : value ); +export function defaultValue(value: T): OperatorFunction { + return map((x: T) => x ? x : value); } - /* Function to beautify the post date to human readable form - * @param postDate actual time of the post - * @returns Beautified date in format MM DD at HH:MM for social media post and MM DD, YY for blog posts - */ +/* Function to beautify the post date to human readable form +* @param postDate actual time of the post +* @returns Beautified date in format MM DD at HH:MM for social media post and MM DD, YY for blog posts +*/ export function beautifyDate(postDate: any, type: string): string {