---
jsApi: true
title: "[F] getNormalizedAbsolutePath"

---
```ts
getNormalizedAbsolutePath(fileName, currentDirectory): string
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `fileName` | `string` |
| `currentDirectory` | `undefined` \| `string` |

## Returns

`string`
