Skip to content

Commit 8ec4cac

Browse files
christianalfonigitbook-bot
authored andcommitted
GitBook: [v23] one page modified
1 parent 6e32e0b commit 8ec4cac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/typescript.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ export const state: State = {
194194
{% endtab %}
195195
{% endtabs %}
196196

197+
{% hint style="warning" %}
198+
Note that with **Explicit Typing** you need to also pass the a third argument to the **derived** function, the **Config** type created in your main **index.ts** file.
199+
{% endhint %}
200+
197201
## Actions
198202

199203
The action type takes either an input type, an output type, or both.

0 commit comments

Comments
 (0)