Skip to content

Commit 5648369

Browse files
Merge pull request cerebral#255 from menberg/patch-2
Fix typo: change from TConfig to IConfig
2 parents 166a1a5 + 8d92ef9 commit 5648369

File tree

1 file changed

+2
-2
lines changed
  • packages/overmind-website/examples/guide/structuringtheapp

1 file changed

+2
-2
lines changed

packages/overmind-website/examples/guide/structuringtheapp/namespaced.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export {
3232
{
3333
fileName: 'overmind/index.ts',
3434
code: `
35-
import { createOvermind, TConfig } from 'overmind'
35+
import { createOvermind, IConfig } from 'overmind'
3636
import { namespaced } from 'overmind/config'
3737
import * as posts from './posts'
3838
import * as admin from './admin'
@@ -43,7 +43,7 @@ const config = namespaced({
4343
})
4444
4545
declare module 'overmind' {
46-
interface IConfig extends TConfig<typeof config> {}
46+
interface Config extends IConfig<typeof config> {}
4747
}
4848
4949
const overmind = createOvermind(config)

0 commit comments

Comments
 (0)