Autoformat using Prettier

This commit is contained in:
Daniel Gasienica
2018-04-13 22:09:56 -04:00
parent 320a8d31c1
commit 648a7ab1bb
5 changed files with 27 additions and 21 deletions
@@ -76,7 +76,7 @@ const toSection = (
case 'thisMonth':
return {
type: firstMessageWithSection.type,
messages: messages,
messages,
};
case 'yearMonth':
return {
@@ -94,11 +94,11 @@ const toSection = (
}
};
type GenericMessageWithSection<T> = {
interface GenericMessageWithSection<T> {
order: number;
type: T;
message: Message;
};
}
type MessageWithStaticSection = GenericMessageWithSection<StaticSectionType>;
type MessageWithYearMonthSection = GenericMessageWithSection<
YearMonthSectionType