---
title: type
framework: packagedescription
role: symbol
role_heading: Instance Property
path: packagedescription/product/library/type
---

# type

The type of the library.

## Declaration

```swift
final let type: Product.Library.LibraryType?
```

## Discussion

Discussion If the type is unspecified, the Swift Package Manager automatically chooses a type based on the client’s preference.

## See Also

### Describing a Library Product

- [targets](packagedescription/product/library/targets.md)
- [Product.Library.LibraryType](packagedescription/product/library/librarytype.md)
