---
url: /api/advanced/import-example.md
---
```ts
function import<T>(moduleId: string): Promise<T>
```
