Skip to content

Commit 148dc06

Browse files
docs(website): change config from type to interface
1 parent 8c337d3 commit 148dc06

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

packages/overmind-website/examples/guide/typescript/explicit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import {
1010
IState
1111
} from 'overmind'
1212
13-
const config = {}
13+
export const config = {}
1414
15-
type Config = IConfig<typeof config>
15+
export interface Config extends IConfig<typeof config> {}
1616
1717
export interface OnInitialize extends IOnInitialize<Config> {}
1818

0 commit comments

Comments
 (0)