# types/syntax.types.ts

> 5 lines of code and 2 definitions.

Tree: Site tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/tree#file-types-syntax-types-ts
Source text: https://banes-lab.com/assets/sources/source.90fb9c9942adb1af06e6753ec3c6235b3d55337e3fefae04c02972baec06a1db.generated.txt

## Definitions

- `TokenKind` (type_alias_declaration, line 1, exported)
- `Token` (interface_declaration, line 3, exported)

## Source

```typescript
export type TokenKind = "comment" | "constant" | "heading" | "keyword" | "number" | "plain" | "string" | "type";

export interface Token {
    readonly kind: TokenKind;
    readonly text: string;
}
```
