import { createConfigInjectionToken } from '@daffodil/core'
Creates an injection token/provider pair for a DI token that holds a configuration.
const createConfigInjectionToken: <T = unknown>(defaultConfig: T | InjectionToken<T>, desc: [string, { providedIn?: Type<any> | "root" | "platform" | "any"; factory: () => unknown; }?], options?: [string?, { providedIn?: Type<...> | ... 2 more ... | "any"; factory: () => unknown; }?]) => DaffConfigInjectionToken<...>