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

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

## Parameters

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

## Returns

[[`TypeReferenceNode`](Interface.TypeReferenceNode.md), *readonly* [`Diagnostic`](Interface.Diagnostic.md)[]]
