# getPackageScope

Retrieve the package scope associated with an external package created via createPackage.

```ts
import { getPackageScope } from "@alloy-js/typescript";


function getPackageScope(pkg: ExternalPackage): any;
```

## Parameters

|     |                 |   |
| --- | --------------- | - |
| pkg | ExternalPackage |   |

## Returns

any
