Skip to content

Commit efdacce

Browse files
Prokopchuk-ValentinProkopchuk-Valentin
authored and
Prokopchuk-Valentin
committed
Update index.md
1 parent 2024b06 commit efdacce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/website/docs/factories/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const createCounter = createFactory(({ initialValue }) => {
100100
Anywhere in your application you can invoke a factory by calling `invoke` with a factory and its arguments:
101101
We do not call `invoke` in components; instead, we call it in **`.js`** or **`.ts`** files, as if we were writing regular Effector code.
102102

103-
```js
103+
```ts
104104
import { invoke } from '@withease/factories';
105105

106106
const { $counter, increment, decrement } = invoke(createCounter, { initialValue: 2 });

0 commit comments

Comments
 (0)