---
title: "CONSOLE_METHODS: constant in Console, TypeShade API"
description: "CONSOLE_METHODS, a constant in Console. The JavaScript Console API methods TypeShade recognizes in shader source today."
url: https://typeshade.dev/api/consolemethods/
language: en
---

# `CONSOLE_METHODS`

Constant in Console

The JavaScript Console API methods TypeShade recognizes in shader source today.

`import { CONSOLE_METHODS } from 'typeshade'`

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

## Syntax

```ts
const CONSOLE_METHODS: ReadonlySet<ConsoleMethod>
```

## Source

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