---
url: >-
  https://lit-ui-router.dev/reference/ui-router-registry/index/type-aliases/UncheckedRef.md
---
[ui-router-registry](../../index.md) / [ui-router-registry](../index.md) / UncheckedRef

# Type Alias: UncheckedRef

```ts
type UncheckedRef = string & {
  [unchecked]: true;
};
```

Defined in: [registry.ts:176](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/ui-router-registry/src/registry.ts#L176)

An explicit opt-out for a target the registry can't see, such as a name
built at runtime or a state registered at runtime: `name as UncheckedRef`.
Its params are loose. Nothing is unsafe at runtime; the target is just
unverified.

## Type Declaration

| Name | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
| `[unchecked]` | `true` | The brand that only a cast supplies. | [registry.ts:178](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/ui-router-registry/src/registry.ts#L178) |
