Skip to content

Commit e5b6142

Browse files
docs(website): missing type in getting started guide
1 parent f4f84f9 commit e5b6142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/overmind-website/examples/guide/getstarted/connectapp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ import { state } from './state'
106106
import * as actions from './actions'
107107
import * as effects from './effects'
108108
109-
const config = {
109+
export const config = {
110110
state,
111111
actions,
112112
effects
@@ -116,7 +116,7 @@ declare module 'overmind' {
116116
interface Config extends IConfig<typeof config> {}
117117
}
118118
119-
export const useOvermind = createHook()
119+
export const useOvermind = createHook<typeof config>()
120120
`,
121121
},
122122
{

0 commit comments

Comments
 (0)