<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [getFacetConfig](./x-adapter-platform.getfacetconfig.md)

## getFacetConfig() function

Returns the facet's config.

**Signature:**

```typescript
export declare function getFacetConfig(type: PlatformFacetType): FacetConfig;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  type | [PlatformFacetType](./x-adapter-platform.platformfacettype.md) | The facet type to resolve the configuration. |

**Returns:**

[FacetConfig](./x-adapter-platform.facetconfig.md)

The facet's config.

