<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [getGetterPath](./x-components.getgetterpath.md)

## getGetterPath() function

Generates a getter path string with the module and getter name.

**Signature:**

```typescript
export declare function getGetterPath<ModuleName extends XModuleName>(moduleName: ModuleName, getterName: keyof ExtractGetters<ModuleName>): string;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  moduleName | ModuleName | The module name the getter belongs to. |
|  getterName | keyof [ExtractGetters](./x-components.extractgetters.md)<!-- -->&lt;ModuleName&gt; | The getter name. |

**Returns:**

string

A string representing the getter path.

