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

---
```ts
resolveModule(
  host,
  name,
  options): Promise< ModuleResolutionResult >
```

Resolve a module

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `host` | [`ResolveModuleHost`](Interface.ResolveModuleHost.md) |  |
| `name` | `string` |  |
| `options` | [`ResolveModuleOptions`](Interface.ResolveModuleOptions.md) |  |

## Returns

`Promise`< [`ModuleResolutionResult`](Type.ModuleResolutionResult.md) \>
