# GetSubConfig

typedef

An utility type extracting configuration value from the given name.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/config.ts#L298)

<a id="type-parameters">

## Type parameters

### `T`

The type of a configuration dictionary.

### `K`

The literal type of configuration name (dot-separated path).

#### Value

``K extends keyof T ? T[ K ] : K extends `${ K2 }` ? K1 extends keyof T ? GetSubConfig<OnlyObject<T[ K1 ]>, K2> : unknown : unknown``

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
