Skip to content

Commit 67526ce

Browse files
committed
fix formatting
1 parent 9bc5354 commit 67526ce

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

packages/default-storage/example/examples/Functional.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ function Functional(): JSX.Element {
130130
}
131131
})
132132
.then(async () => {
133-
const AsyncStorageTestSupport = TurboModuleRegistry.get<AsyncStorageTestSupport>("AsyncStorageTestSupport")
133+
const AsyncStorageTestSupport =
134+
TurboModuleRegistry.get<AsyncStorageTestSupport>(
135+
"AsyncStorageTestSupport"
136+
);
134137

135138
for (const [currentName, test] of Object.entries(tests)) {
136139
const name = currentName + " with delegate";

packages/default-storage/example/examples/MergeItem.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ function Merge(): JSX.Element {
110110
getConstants(): object;
111111
};
112112

113-
const AsyncStorageTestSupport = TurboModuleRegistry.get<AsyncStorageTestSupport>("AsyncStorageTestSupport")
113+
const AsyncStorageTestSupport =
114+
TurboModuleRegistry.get<AsyncStorageTestSupport>("AsyncStorageTestSupport");
114115

115116
return (
116117
<View>

packages/default-storage/example/examples/types.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { TurboModule } from "react-native";
33
type AsyncStorageDelegate = (value: boolean) => void;
44

55
export type AsyncStorageTestSupport = TurboModule & {
6-
test_setDelegate: (delegate: AsyncStorageDelegate) => void;
7-
test_unsetDelegate: (delegate: AsyncStorageDelegate) => void;
8-
getConstants(): object;
9-
}
6+
test_setDelegate: (delegate: AsyncStorageDelegate) => void;
7+
test_unsetDelegate: (delegate: AsyncStorageDelegate) => void;
8+
getConstants(): object;
9+
};

0 commit comments

Comments
 (0)