Skip to content

Commit 87b89ea

Browse files
chore: format
1 parent 31b20bd commit 87b89ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_official-blog-tutorial/app/singleton.server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export const singleton = <Value>(
66
name: string,
7-
valueFactory: () => Value
7+
valueFactory: () => Value,
88
): Value => {
99
const g = global as any;
1010
g.__singletons ??= {};

_official-jokes/app/utils/singleton.server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export const singleton = <Value>(
66
name: string,
7-
valueFactory: () => Value
7+
valueFactory: () => Value,
88
): Value => {
99
const g = global as any;
1010
g.__singletons ??= {};

0 commit comments

Comments
 (0)