# createLibrary

```ts
import { createLibrary } from "@alloy-js/java";


function createLibrary<const T extends LibraryDescriptor>(props: CreateLibraryProps<T>): LibraryRefkeys<T> & SymbolCreator;
```

## Parameters

|       |                        |   |
| ----- | ---------------------- | - |
| props | CreateLibraryProps\<T> |   |

## Returns

[LibraryRefkeys](../../types/libraryrefkeys/)\<T> & [SymbolCreator](../../../core/types/symbolcreator/)
