---
title: "ConsoleSite: interface in Console, TypeShade API reference"
description: "ConsoleSite, an interface in Console. One console call the WGSL records: its method, where it was written, its arguments in the order written…"
url: https://typeshade.dev/api/consolesite/
language: en
---

# `ConsoleSite`

Interface in Console

One console call the WGSL records: its method, where it was written, its arguments in the order written, and the words its entry takes.

`import type { ConsoleSite } from 'typeshade'`

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

## Syntax

```ts
interface ConsoleSite {
  readonly method: ConsoleMethod;
  readonly span?: SourceSpan;
  readonly args: readonly ({ readonly label: string } | { readonly shape: ConsoleShape })[];
  readonly words: number;
}
```

## Instance properties

**`method` read only `ConsoleMethod`**

**`span` optional read only `SourceSpan`**

**`args` read only `readonly ({ readonly label: string } | { readonly shape: ConsoleShape })[]`**

**`words` read only `number`**

## Source

[`src/core/console.ts`, line 136](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/console.ts#L136), at commit af54ddad5
