# DIConfiguration Service

Module
import { DIConfiguration } from "@tsed/di"
Source/packages/di/src/services/DIConfiguration.ts

# Overview

class DIConfiguration {
    readonly default: Map<string, any>;
    protected map: Map<string, any>;
    [key: string]: any;
    get scopes(): {
        [key: string]: ProviderScope;
    };
    set scopes(value: {
        [key: string]: ProviderScope;
    });
    forEach(callbackfn: (value: any, index: string, map: Map<string, any>) => void, thisArg?: any): void;
    set(propertyKey: string | Partial<IDIConfigurationOptions>, value?: any): this;
    setRaw(propertyKey: string, value: any): this;
    get<T = any>(propertyKey: string): T;
    getRaw(propertyKey: string): any;
    merge(obj: Partial<IDIConfigurationOptions>): void;
    resolve(value: any): any;
    build(): void;
}

# Members

readonly default: Map<string, any>

protected map: Map<string, any>

[key: string]: any

get scopes(): {
     [key: string]: ProviderScope;
 };

set scopes(value: {
     [key: string]: ProviderScope;
 });

forEach(callbackfn: (value: any, index: string, map: Map<string, any>) => void, thisArg?: any): void

set(propertyKey: string | Partial<IDIConfigurationOptions>, value?: any): this

setRaw(propertyKey: string, value: any): this

get<T = any>(propertyKey: string): T

getRaw(propertyKey: string): any

merge(obj: Partial<IDIConfigurationOptions>): void

resolve(value: any): any

build(): void