[Pomeranian development reference](/reference/development/index.md) / [core/src/authoring](/reference/development/core/src/authoring/index.md) / checkLibrary

# Function: checkLibrary()

> **checkLibrary**\<`Expected`\>(): \<`C`\>(`Class`) => `C`

Defined in: [packages/core/src/authoring.ts:67](https://github.com/lolmaus/pomeranian-trailhead/blob/main/packages/core/src/authoring.ts#L67)

Check bare-instance factory conformance. This compiler check does not enforce author source restrictions.

## Type Parameters

### Expected

`Expected` *extends* [`PageObject`](/reference/development/core/src/page-object/classes/PageObject.md)\<[`UnboundRoot`](/reference/development/core/src/authoring/type-aliases/UnboundRoot.md)\>

## Returns

\<`C`\>(`Class`) => `C`

## Since

Available since @pomeranian/core@Unreleased


> **Unreleased core API:** @pomeranian/core implementation from main; no npm release is implied.
