---
title: "ConsoleMethod: type in Console, TypeShade API reference"
description: "ConsoleMethod, a type in Console. Console methods currently lowered by the TypeShade source compiler."
url: https://typeshade.dev/api/consolemethod/
language: en
---

# `ConsoleMethod`

Type in Console

Console methods currently lowered by the TypeShade source compiler.

`import type { ConsoleMethod } from 'typeshade'`

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

## Syntax

```ts
type ConsoleMethod = 'log' | 'info' | 'debug' | 'warn' | 'error' | 'table';
```

## Source

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