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

---
```ts
setCadlNamespace(namespace, ...functions): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `namespace` | `string` |
| ...`functions` | (...`args`) => `any`[] |

## Returns

`void`

## Deprecated

use setTypeSpecNamespace
