Skip to content

Commit bfbdddc

Browse files
committed
format with prettier
1 parent 5bdcf20 commit bfbdddc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/index.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ export const plugin: PluginFunction<RawSWRPluginConfig> = (
2525
const allAst = concatAST(documents.map((v) => v.document))
2626

2727
const allFragments: LoadedFragment[] = [
28-
...(allAst.definitions.filter(
29-
(d) => d.kind === Kind.FRAGMENT_DEFINITION
30-
) as FragmentDefinitionNode[]).map((fragmentDef) => ({
28+
...(
29+
allAst.definitions.filter(
30+
(d) => d.kind === Kind.FRAGMENT_DEFINITION
31+
) as FragmentDefinitionNode[]
32+
).map((fragmentDef) => ({
3133
node: fragmentDef,
3234
name: fragmentDef.name.value,
3335
onType: fragmentDef.typeCondition.name.value,

0 commit comments

Comments
 (0)