---
jsApi: true
title: "[F] parseStandaloneTypeReference"

---
```ts
parseStandaloneTypeReference(code): [TypeReferenceNode, readonly Diagnostic[]]
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `code` | `string` \| [`SourceFile`](../interfaces/SourceFile.md) |

## Returns

[[`TypeReferenceNode`](../interfaces/TypeReferenceNode.md), readonly [`Diagnostic`](../interfaces/Diagnostic.md)[]]
