Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 18, 2022
1 parent 6a8c38d commit c8833ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions firebase/app/server/db.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ const converter = <T>() => ({
});

// helper to apply converter to multiple collections
const dataPoint = <T extends FirebaseFirestore.DocumentData>(collectionPath: string) =>
getFirestore().collection(collectionPath).withConverter(converter<T>());
const dataPoint = <T extends FirebaseFirestore.DocumentData>(
collectionPath: string
) => getFirestore().collection(collectionPath).withConverter(converter<T>());

export type Todo = {
id: string;
Expand Down

0 comments on commit c8833ea

Please sign in to comment.