---
title: "TypeShadeBuildInfo: interface in Runtime, TypeShade API"
description: "TypeShadeBuildInfo, an interface in Runtime. The package build, separate from a program's compiler or a benchmark's revision."
url: https://typeshade.dev/api/typeshadebuildinfo/
language: en
---

# `TypeShadeBuildInfo`

Interface in Runtime

The package build, separate from a program's compiler or a benchmark's revision.

`import type { TypeShadeBuildInfo } from 'typeshade'`
`import type { TypeShadeBuildInfo } from 'typeshade/runtime'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
interface TypeShadeBuildInfo {
  readonly version: string;
  readonly revision: string | null;
}
```

## Description

Exported from `typeshade` and `typeshade/runtime` (change 0083).

## Instance properties

**`version` read only `string`**

The TypeShade package version.

**`revision` read only `string | null`**

Exact clean source revision established during packaging, or `null` for unstamped or modified sources. No Git or package metadata is read at browser runtime.

## Source

[`src/core/build-info.ts`, line 5](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/build-info.ts#L5), at commit af54ddad5
