namespaced

Allows you to namespace configurations by a key.

overmind/index.ts
overmind/index.ts
import {IConfig } from 'overmind'
import { namespaced } from 'overmind/config'
import * as moduleA from './moduleA'
import * as moduleB from './moduleB'
export const config = namespaced({
moduleA,
moduleB
})
declare module 'overmind' {
interface Config extends IConfig<typeof config> {}
}