Skip to content

Commit 363659c

Browse files
committed
Update createResource.mdx
1 parent bcc4cbd commit 363659c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/references/api-reference/basic-reactivity/createResource.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Alternatively, these can be explicitly typed when passed to the fetcher:
117117

118118
```ts
119119
const [data] = createResource(
120-
() => [dataSignal(), moreData()] as const,
120+
() => [dataSignal(), moreData()],
121121
([dataVal, moreDataVal]) => fetcher(dataVal as number, moreDataVal as string)
122122
);
123123
```

0 commit comments

Comments
 (0)