---
title: "QuartzUITypeScriptGenerator: declaration reference"
description: "Quartz UI 0.57.0-dev: QuartzUITypeScriptGenerator: declaration reference. Source-reviewed guidance, usage and limitations."
status: approved
visibility: public
sourceRevision: fe5b709ec900e282b50e58b819a25041945005f9
reviewedAt: 2026-09-24
---

# QuartzUITypeScriptGenerator: declaration reference

> **0.57.0-dev · beta source documentation.** Native, Blueprint, Editor and rendering examples are source-reviewed, not executed in Unreal during this scan. See [validation and limits](https://betterbuilt.games/docs/quartz-ui/evidence).

Pinned source (source: `Source/QuartzUIEditor/Public/QuartzUITypeScriptGenerator.h`) · [integration recipe](https://betterbuilt.games/docs/quartz-ui/inventory#quartzuitypescriptgenerator) · [practical guide](https://betterbuilt.games/docs/quartz-ui/tools-shipping)

## FQuartzUITypeScriptGenerator

**Editor type.** Deterministic Editor-only TypeScript emitter for explicit native contracts.

**Prerequisites / integration:** Installed source plugin; Editor tools additionally require a compiled compatible host Editor target. Use the [QuartzUITypeScriptGenerator recipe](https://betterbuilt.games/docs/quartz-ui/inventory#quartzuitypescriptgenerator) in the host module `QuartzUIEditor`.

**Minimal example / lifecycle:** Use QuartzUIContract with selected app and -Check. Generation reads explicit reflected closure; frontend rebuild is separate.

**Avoid:** Hand-editing generated declarations or using core identity for another app. Match the exact declaration below; dependent DTOs/enums are values used by this owner, not independent systems.

Exact source line (source: `Source/QuartzUIEditor/Public/QuartzUITypeScriptGenerator.h#L8`)

## Complete header

Source snapshot, not an additional example. Unreal annotations distinguish exposed Blueprint nodes from native-only/private methods.

```cpp
#pragma once

#include "CoreMinimal.h"

struct FQuartzUIContractManifest;

/** Deterministic Editor-only TypeScript emitter for explicit native contracts. */
class QUARTZUIEDITOR_API FQuartzUITypeScriptGenerator final
{
public:
	static bool TryGenerate(
		const FQuartzUIContractManifest& Manifest,
		FString& OutTypeScript,
		FString& OutError);

	/** Writes only changed UTF-8 output, or verifies it byte-for-byte in check mode. */
	static bool TryWriteFile(
		const FQuartzUIContractManifest& Manifest,
		const FString& OutputPath,
		bool bCheckOnly,
		bool& bOutChanged,
		FString& OutError);
};
```

Canonical HTML: https://betterbuilt.games/docs/quartz-ui/reference-quartzuitypescriptgenerator
