---
description: Imports a TypeScript-based file | Function
---

# importFile

```typescript
importFile<T>(filePath: string)
```

| Parameter  | Description          | Type     |
| ---------- | -------------------- | -------- |
| `filePath` | The path to the file | `String` |

### Returns

```typescript
T
```
